Share via


DataConnectionProperties.Item[String] Property

Definition

Retrieves or sets a value for a specified property on the DDEX Provider.

public:
 virtual property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ propertyName); void set(System::String ^ propertyName, System::Object ^ value); };
public virtual object this[string propertyName] { get; set; }
member this.Item(string) : obj with get, set
Default Public Overridable Property Item(propertyName As String) As Object

Parameters

propertyName
String

The name of a connection property.

Property Value

Returns the value associated with the specified property name. Alternatively, returns DBNull.Value if the property is known but is not set (and has no default), or returns null if the property is not known.

Implements

Exceptions

The propertyName parameter is null.

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

Applies to