你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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