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 ( _
    name As String _
) As DataConnectionFile
    Get
'Usage
Dim instance As DataConnectionFileCollection
Dim name As String
Dim value As DataConnectionFile

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

Parameters

  • name
    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