[This is preliminary documentation and is subject to change.]
            Inserts a template
            
    Namespace: 
   OfficeClip.DBLayer.TemplateAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
| C# | 
|---|
public int InsertTemplate( int accountId, int groupId, int userId, TemplateType templateType, Category category, bool isHtml, string name, string description, string subject, string html, string text, int createdByUserId )  | 
| Visual Basic (Declaration) | 
|---|
Public Function InsertTemplate ( _ accountId As Integer, _ groupId As Integer, _ userId As Integer, _ templateType As TemplateType, _ category As Category, _ isHtml As Boolean, _ name As String, _ description As String, _ subject As String, _ html As String, _ text As String, _ createdByUserId As Integer _ ) As Integer  | 
| Visual C++ | 
|---|
public: int InsertTemplate( int accountId, int groupId, int userId, TemplateType templateType, Category category, bool isHtml, String^ name, String^ description, String^ subject, String^ html, String^ text, int createdByUserId )  | 
Parameters
- accountId
 - Type: System..::.Int32
The unique id of the account 
- groupId
 - Type: System..::.Int32
The unique id of the group 
- userId
 - Type: System..::.Int32
The unique id of teh user 
- templateType
 - Type: OfficeClip.BusinessLayer.Template..::.TemplateType
The template type 
- category
 - Type: OfficeClip.BusinessLayer.Template..::.Category
The template category 
- isHtml
 - Type: System..::.Boolean
True if the template is an html template 
- name
 - Type: System..::.String
The name of the template 
- description
 - Type: System..::.String
The description of the template 
- subject
 - Type: System..::.String
The subject of the template 
- html
 - Type: System..::.String
The html of the template 
- text
 - Type: System..::.String
The text of the template 
- createdByUserId
 - Type: System..::.Int32
The unique id of teh template creator 
