TryParse()

EntityTagHeaderValue::TryParse(String, System::SharedPtr<EntityTagHeaderValue>&) method

Tries to convert a passed string to an instance of the EntityTagHeaderValue class.

static bool System::Net::Http::Headers::EntityTagHeaderValue::TryParse(String input, System::SharedPtr<EntityTagHeaderValue> &parsedValue)

Arguments

ParameterTypeDescription
inputStringA string to parse.
parsedValueSystem::SharedPtr<EntityTagHeaderValue>&An instance where a parsed object will be assigned.

Return Value

True when the parsing is successfully done, otherwise false.

See Also