AdoDotNetConnectionProperties.Item Property
Retrieves or sets a value for a specified property on the DDEX Provider.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Overrides Default Property Item ( _
propertyName As String _
) As Object
public override Object this[
string propertyName
] { get; set; }
public:
virtual property Object^ default[String^ propertyName] {
Object^ get (String^ propertyName) override;
void set (String^ propertyName, Object^ value) override;
}
abstract Item :
propertyName:string -> Object with get, set
override Item :
propertyName:string -> Object with get, set
JScript does not support indexed properties.
Parameters
propertyName
Type: System.StringName of the property for which a value is retrieved or set.
Property Value
Type: System.Object
Returns the value for the property with the specified name.
Implements
IDataConnectionProperties.Item
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.
See Also
Reference
AdoDotNetConnectionProperties Class