Freigeben über


IDataConnectionProperties.Item Property

Represents a property instance of specified type and value.

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

Syntax

'Declaration
Default Property Item ( _
    propertyName As String _
) As Object
    Get
    Set
Object this[
    string propertyName
] { get; set; }
property Object^ default[String^ propertyName] {
    Object^ get (String^ propertyName);
    void set (String^ propertyName, Object^ value);
}
abstract Item : Object with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: System.Object
A property object instance of the specified name.

Exceptions

Exception Condition
ArgumentNullException

The propertyName parameter is null.

InvalidCastException

When setting a property value, the specified value cannot be converted to the property type.

.NET Framework Security

See Also

Reference

IDataConnectionProperties Interface

Microsoft.Data.ConnectionUI Namespace