System::Net::Http::Headers::ProductHeaderValue::GetProductLength yöntemi

ProductHeaderValue::GetProductLength method

Belirtilen indeksden geçirilen bir dizeyi ProductHeaderValue sınıfının bir örneğine dönüştürür.

static int32_t System::Net::Http::Headers::ProductHeaderValue::GetProductLength(String input, int32_t startIndex, System::SharedPtr<ProductHeaderValue> &parsedValue)
ParametreTürAçıklama
girdiDizeAyrıştırılacak bir dize.
startIndexint32_tAyrıştırma için bir başlangıç konumu.
parsedValueSystem::SharedPtr<ProductHeaderValue>&Ayrıştırılmış bir nesnenin atanacağı bir örnek.

ReturnValue

Ayrıştırılmış bir alt dizenin uzunluğunu döndürür, aksi takdirde 0.

Ayrıca Bakınız