共用方式為


DataConnectionProperties.Item[String] Property

Definition

Gets or sets a value for a specified property of the DDEX provider.

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

Parameters

key
String

The name of a connection property.

Property Value

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

Implements

Exceptions

The propertyName parameter is null.

The specified value of a property value cannot be converted to the property type.

Applies to