Share via


HttpExpectationHeaderValueCollection.TryParseAdd(String) Method

Definition

Tries to parse and add the specified item to the HttpExpectationHeaderValueCollection.

public:
 virtual bool TryParseAdd(Platform::String ^ input) = TryParseAdd;
bool TryParseAdd(winrt::hstring const& input);
public bool TryParseAdd(string input);
function tryParseAdd(input)
Public Function TryParseAdd (input As String) As Boolean

Parameters

input
String

Platform::String

winrt::hstring

The item to parse and add.

Returns

Boolean

bool

true if the item successfully parsed and was added; otherwise false.

Applies to