System::Net::Http::Headers::TransferCodingHeaderValue::GetTransferCodingLength method

TransferCodingHeaderValue::GetTransferCodingLength method

Converts a passed string from the specified index to an instance of the TransferCodingHeaderValue class.

static int32_t System::Net::Http::Headers::TransferCodingHeaderValue::GetTransferCodingLength(String input, int32_t startIndex, const HeaderFunc<System::SharedPtr<TransferCodingHeaderValue>> &transferCodingCreator, System::SharedPtr<TransferCodingHeaderValue> &parsedValue)
ParameterTypeDescription
inputStringA string to parse.
startIndexint32_tA start position for parsing.
parsedValueconst HeaderFunc<System::SharedPtr<TransferCodingHeaderValue>>&An instance where a parsed object will be assigned.
transferCodingCreatorSystem::SharedPtr<TransferCodingHeaderValue>&The delegate that is used to create instances of the TransferCodingHeaderValue class.

ReturnValue

Returns the length of a parsed substring, otherwise 0.

See Also