Moonware.Common
Add Method



Template instance
Assign id to the template and add it to the collection
Syntax
'Declaration
 
Public Function Add( _
   ByVal template As Template _
) As Integer
'Usage
 
Dim instance As TemplateCollection
Dim template As Template
Dim value As Integer
 
value = instance.Add(template)
public int Add( 
   Template template
)
public:
int Add( 
   Template^ template
) 

Parameters

template
Template instance

Return Value

Assigned template id
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TemplateCollection Class
TemplateCollection Members

Send Feedback