Share via


IProcessTemplates.GetTemplateIndex Method

Gets the index of the template with the given name or -1 if the template could not be found.

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Function GetTemplateIndex ( _
    name As String _
) As Integer
int GetTemplateIndex(
    string name
)
int GetTemplateIndex(
    String^ name
)
abstract GetTemplateIndex : 
        name:string -> int
function GetTemplateIndex(
    name : String
) : int

Parameters

Return Value

Type: System.Int32
Index of the template, or

.NET Framework Security

See Also

Reference

IProcessTemplates Interface

Microsoft.TeamFoundation.Server Namespace