DataSourceInformation.Item Property

Retrieves a data source information property with the specified name.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'宣言
Public Overridable ReadOnly Default Property Item ( _
    propertyName As String _
) As Object
'使用
Dim instance As DataSourceInformation
Dim propertyName As String
Dim value As Object

value = instance(propertyName)
public virtual Object this[
    string propertyName
] { get; }
public:
virtual property Object^ default[String^ propertyName] {
    Object^ get (String^ propertyName);
}
JScript does not support indexed properties.

Parameters

  • propertyName
    Type: System.String

    The name of the data source information property to retrieve.

Property Value

Type: System.Object

Returns the data source information property with the specified name.

Permissions

See Also

Reference

DataSourceInformation Class

DataSourceInformation Members

Microsoft.VisualStudio.Data Namespace