Version

FindTemplateById Method (NavControl)

Searches the ItemTemplates within this collection and returns a reference to the first one that matches the templateId passed in.
Syntax
'Declaration
 
Public Function FindTemplateById( _
   ByVal templateId As String _
) As ItemTemplate
public ItemTemplate FindTemplateById( 
   string templateId
)

Parameters

templateId
The Id of the ItemTemplate to look for.

Return Value

ItemTemplate whose Id matches the templateId passed in. Returns null if none is found.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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