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
- propertyName
Type: System.String
Name of the property.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.