共用方式為


TransportHeaders.Item[Object] 屬性

定義

取得或設定與指定索引鍵相關聯的傳輸標頭。

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; }
public object this[object key] { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
member this.Item(obj) : obj with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.Item(obj) : obj with get, set
Default Public Property Item(key As Object) As Object

參數

key
Object

與所要求標頭相關聯的 String

屬性值

與指定索引鍵相關聯的傳輸標頭,或 null (如果找不到索引鍵)。

實作

屬性

備註

參數 key 必須是 String

適用於