共用方式為


PropertyCollection.Item[Object] Property

Definition

Gets or sets the Object with the specified key.

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

Parameters

key
Object

The key of the item.

Property Value

The value.

Applies to