DbConnectionStringBuilder.IDictionary.Item[Object] Property

Definition

获取或设置具有指定键的元素。Gets or sets the element with the specified key.

property System::Object ^ System::Collections::IDictionary::Item[System::Object ^] { System::Object ^ get(System::Object ^ keyword); void set(System::Object ^ keyword, System::Object ^ value); };
object System.Collections.IDictionary.Item[object keyword] { get; set; }
member this.System.Collections.IDictionary.Item(obj) : obj with get, set
 Property Item(keyword As Object) As Object Implements IDictionary.Item

Parameters

keyword
Object

要获取或设置的元素的键。The key of the element to get or set.

Property Value

Object

带有指定键的元素。The element with the specified key.

Implements

Remarks

此成员是显式接口成员实现。This member is an explicit interface member implementation. 它只能在 DbConnectionStringBuilder 实例被强制转换为 IDictionary 接口时使用。It can be used only when the DbConnectionStringBuilder instance is cast to an IDictionary interface.

有关详细信息,请参阅 Item[]For more information, see Item[].

Applies to

See also