TransportHeaders.Item[Object] Propriedade

Definição

Obtém ou define um cabeçalho de transporte associado à chave determinada.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; }
[get: System.Security.SecurityCritical]
[set: System.Security.SecurityCritical]
public object this[object key] { get; 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

Parâmetros

key
Object

O String ao qual o cabeçalho solicitado está associado.The String that the requested header is associated with.

Valor da propriedade

Object

Um cabeçalho de transporte que está associado à chave especificada ou null se a chave não foi encontrada.A transport header that is associated with the given key, or null if the key was not found.

Implementações

Atributos

Comentários

O key parâmetro deve ser um String .The key parameter must be a String.

Aplica-se a