Headers.TryGetValue(String, String) Method
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.
Tries to get the value for a particular header.
public virtual bool TryGetValue (string headerName, out string value);
abstract member TryGetValue : string * string -> bool
override this.TryGetValue : string * string -> bool
Public Overridable Function TryGetValue (headerName As String, ByRef value As String) As Boolean
Parameters
- headerName
- String
Header name.
- value
- String
Header value.
Returns
True or false if the header name existed in the header collection.
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.
Azure SDK for .NET