System::Net::Http::Headers::ProductInfoHeaderValue::GetProductInfoLength méthode

ProductInfoHeaderValue::GetProductInfoLength method

Convertit une chaîne passée à partir de l’index spécifié en une instance de la classe ProductInfoHeaderValue.

static int32_t System::Net::Http::Headers::ProductInfoHeaderValue::GetProductInfoLength(String input, int32_t startIndex, System::SharedPtr<ProductInfoHeaderValue> &parsedValue)
ParamètreTypeDescription
inputStringUne chaîne à analyser.
startIndexint32_tUne position de départ pour l’analyse.
parsedValueSystem::SharedPtr<ProductInfoHeaderValue>&Une instance où un objet analysé sera assigné.

ReturnValue

Renvoie la longueur d’une sous-chaîne analysée, sinon 0.

Voir aussi