Dela via


NameValueHeaderValue.CopyAsReadOnly Method

Definition

Provides a copy of this instance while making it immutable.

public:
 Microsoft::Net::Http::Headers::NameValueHeaderValue ^ CopyAsReadOnly();
public Microsoft.Net.Http.Headers.NameValueHeaderValue CopyAsReadOnly ();
member this.CopyAsReadOnly : unit -> Microsoft.Net.Http.Headers.NameValueHeaderValue
Public Function CopyAsReadOnly () As NameValueHeaderValue

Returns

The readonly NameValueHeaderValue.

Applies to