GetTransferCodingLength()

TransferCodingHeaderValue::GetTransferCodingLength(String, int32_t, const HeaderFunc<System::SharedPtr<TransferCodingHeaderValue>>&, System::SharedPtr<TransferCodingHeaderValue>&) 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)

Arguments

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.

Return Value

Returns the length of a parsed substring, otherwise 0.

See Also