Version

FindTemplateById Method (BaseGrid)

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

Parameters

templateId
The Id of the Template to look for.

Return Value

Template 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