次の方法で共有


PipelineResponseHeaders.TryGetValues Method

Definition

Attempts to retrieve the values associated with the specified header name.

public abstract bool TryGetValues (string name, out System.Collections.Generic.IEnumerable<string>? values);
abstract member TryGetValues : string * seq -> bool
Public MustOverride Function TryGetValues (name As String, ByRef values As IEnumerable(Of String)) As Boolean

Parameters

name
String

The name of the header to retrieve.

values
IEnumerable<String>

The specified header values.

Returns

true if the specified header name and values are stored in the collection; otherwise false.

Applies to