Share via


FormTemplateCollection.Item Method (String)

Gets a FormTemplate object in the FormTemplateCollection collection using the form template name.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
Public Function Item ( _
    templateName As String _
) As FormTemplate
'Usage
Dim instance As FormTemplateCollection
Dim templateName As String
Dim returnValue As FormTemplate

returnValue = instance.Item(templateName)
public FormTemplate Item(
    string templateName
)

Parameters

  • templateName
    Type: System.String
    The Uniform Resource Name (URN) of the form template.

Return Value

Type: Microsoft.Office.InfoPath.Server.Administration.FormTemplate
A FormTemplate object.

Remarks

You can find the URN of a form template by selecting its properties from the drop-down available on the Manage form templates page of the Central Administration site, or by using a procedure similar to the code example for the Item method.

See Also

Reference

FormTemplateCollection Class

FormTemplateCollection Members

Item Overload

Microsoft.Office.InfoPath.Server.Administration Namespace