GetNameValueLength()
Contents
[
Hide
]NameValueHeaderValue::GetNameValueLength(String, int32_t, System::SharedPtr<NameValueHeaderValue>&) method
Converts a passed string from the specified index to an instance of the NameValueHeaderValue class.
static int32_t System::Net::Http::Headers::NameValueHeaderValue::GetNameValueLength(String input, int32_t startIndex, System::SharedPtr<NameValueHeaderValue> &parsedValue)
Arguments
Parameter | Type | Description |
---|---|---|
input | String | A string to parse. |
startIndex | int32_t | A start position for parsing. |
parsedValue | System::SharedPtr<NameValueHeaderValue>& | An instance where a parsed object will be assigned. |
Return Value
Returns the length of a parsed substring, otherwise 0.
NameValueHeaderValue::GetNameValueLength(String, int32_t, HeaderFunc<System::SharedPtr<NameValueHeaderValue>>, System::SharedPtr<NameValueHeaderValue>&) method
Converts a passed string from the specified index to an instance of the NameValueHeaderValue class.
static int32_t System::Net::Http::Headers::NameValueHeaderValue::GetNameValueLength(String input, int32_t startIndex, HeaderFunc<System::SharedPtr<NameValueHeaderValue>> nameValueCreator, System::SharedPtr<NameValueHeaderValue> &parsedValue)
Arguments
Parameter | Type | Description |
---|---|---|
input | String | A string to parse. |
startIndex | int32_t | A start position for parsing. |
nameValueCreator | HeaderFunc<System::SharedPtr<NameValueHeaderValue>> | A function that is used to create new instances of the NameValueHeaderValue class. |
parsedValue | System::SharedPtr<NameValueHeaderValue>& | An instance where a parsed object will be assigned. |
Return Value
Returns the length of a parsed substring, otherwise 0.
See Also
- Typedef SharedPtr
- Typedef HeaderFunc
- Class String
- Class NameValueHeaderValue
- Namespace System::Net::Http::Headers
- Library Aspose.Slides