Share via


HttpMethodHeaderValueCollection.ParseAdd(String) Method

Definition

Parses and adds an entry to the HttpMethodHeaderValueCollection.

public:
 virtual void ParseAdd(Platform::String ^ input) = ParseAdd;
void ParseAdd(winrt::hstring const& input);
public void ParseAdd(string input);
function parseAdd(input)
Public Sub ParseAdd (input As String)

Parameters

input
String

Platform::String

winrt::hstring

The entry to add.

Remarks

Below are the exceptions that this function throws.

E_INVALIDARG

The input parameter is null (Nothing in Visual Basic).

The input parameter is not a valid value for the Allow HTTP header.

Applies to