IDataConnectionProperties.Item Property (String)
Represents a property instance of specified type and value.
Namespace: Microsoft.Data.ConnectionUI
Assembly: Microsoft.Data.ConnectionUI (in Microsoft.Data.ConnectionUI.dll)
Syntax
object this[
string propertyName
] { get; set; }
property Object^ default[
String^ propertyName
] {
Object^ get(String^ propertyName);
void set(String^ propertyName, Object^ value);
}
abstract Item :
propertyName:string -> Object with get, set
Property Item (
propertyName As String
) As Object
Parameters
propertyName
Type: System.StringName 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. |
See Also
IDataConnectionProperties Interface
Microsoft.Data.ConnectionUI Namespace
Return to top