TryParse()

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

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

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

Arguments

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

Return Value

True when the parsing is successfully done, otherwise false.

See Also