GetAuthenticationLength()

AuthenticationHeaderValue::GetAuthenticationLength(String, int32_t, System::SharedPtr<Object>&) method

Parses the specified string and returns the last index of the string representation.

static int32_t System::Net::Http::Headers::AuthenticationHeaderValue::GetAuthenticationLength(String input, int32_t startIndex, System::SharedPtr<Object> &parsedValue)

Arguments

ParameterTypeDescription
inputStringThe string that must be parsed.
startIndexint32_tA start position for parsing.
parsedValueSystem::SharedPtr<Object>&The output parameter where a parsed value will be assigned.

Return Value

The length of a parsed substring, otherwise 0.

See Also