Share via


DataConnectionFileCollection.Item Property (String)

Gets a single data connection file from the collection using the file name.

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

Syntax

'Declaration
Public Overrides ReadOnly Default Property Item ( _
    leafFileName As String _
) As DataConnectionFile
    Get
'Usage
Dim instance As DataConnectionFileCollection
Dim leafFileName As String
Dim value As DataConnectionFile

value = instance(leafFileName)
public override DataConnectionFile this[
    string leafFileName
] { get; }

Parameters

  • leafFileName
    Type: System.String
    The location of the data connection file.

Property Value

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

See Also

Reference

DataConnectionFileCollection Class

DataConnectionFileCollection Members

Item Overload

Microsoft.Office.InfoPath.Server.Administration Namespace