TransportHeaders.Item[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.