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

适用于