Nevron .NET Vision
Nevron.Diagram.Templates Namespace / NTemplateCollection Class / Add Method
template to add


In This Topic
    Add Method (NTemplateCollection)
    In This Topic
    Adds a new template to the collection
    Syntax
    'Declaration
     
    
    Public Function Add( _
       ByVal template As NTemplate _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NTemplateCollection
    Dim template As NTemplate
    Dim value As System.Integer
     
    value = instance.Add(template)
    public System.int Add( 
       NTemplate template
    )

    Parameters

    template
    template to add

    Return Value

    index of the new template in the collection
    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