FormTemplateCollection.Item method (FileInfo)

Gets a FormTemplate object in the FormTemplateCollection collection.

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

Syntax

'Declaration
Public Function Item ( _
    fileInfo As FileInfo _
) As FormTemplate
'Usage
Dim instance As FormTemplateCollection
Dim fileInfo As FileInfo
Dim returnValue As FormTemplate

returnValue = instance.Item(fileInfo)
public FormTemplate Item(
    FileInfo fileInfo
)

Parameters

  • fileInfo
    Type: System.IO.FileInfo

    File can be on UNC or disk path where a [FileInfo] object corresponding to the file can be created.

Return value

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

See also

Reference

FormTemplateCollection class

FormTemplateCollection members

Item overload

Microsoft.Office.InfoPath.Server.Administration namespace