TryParse()

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

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

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

Arguments

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

Return Value

True when the parsing is successfully done, otherwise false.

See Also