Share via


HttpExpectationHeaderValue.Value Property

Definition

Gets or sets a value for a server behavior used in the Expect HTTP header.

public:
 property Platform::String ^ Value { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Value();

void Value(winrt::hstring value);
public string Value { get; set; }
var string = httpExpectationHeaderValue.value;
httpExpectationHeaderValue.value = string;
Public Property Value As String

Property Value

String

Platform::String

winrt::hstring

A value for a server behavior used in the Expect HTTP header.

Remarks

A given server behavior might not require a value and the Value property would be an empty string. For example, 100-continue is never used with a value.

Applies to