Επεξεργασία

Κοινή χρήση μέσω


TransportHeaders.Item[Object] Property

Definition

Gets or sets a transport header that is associated with the given 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; }
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

Parameters

key
Object

The String that the requested header is associated with.

Property Value

A transport header that is associated with the given key, or null if the key was not found.

Implements

Attributes

Remarks

The key parameter must be a String.

Applies to