System::Net::Http::Headers::AuthenticationHeaderValue::GetAuthenticationLength 方法

AuthenticationHeaderValue::GetAuthenticationLength method

解析指定的字符串并返回字符串表示形式的最后索引。

static int32_t System::Net::Http::Headers::AuthenticationHeaderValue::GetAuthenticationLength(String input, int32_t startIndex, System::SharedPtr<Object> &parsedValue)
参数类型描述
输入String必须解析的字符串。
startIndexint32_t用于解析的起始位置。
parsedValueSystem::SharedPtr<Object>&解析后将赋值的输出参数。

ReturnValue

已解析子字符串的长度,否则为 0。

另见