Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
    Get
    Set
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 : Object with get, set
override Item : Object with get, set
JScript does not support indexed properties.
Parameters
- propertyName
 Type: System.String
 Name 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[String]
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