System::Net::Http::Headers::ProductInfoHeaderValue::GetProductInfoLength μέθοδος

ProductInfoHeaderValue::GetProductInfoLength method

Μετατρέπει μια δοθείσα συμβολοσειρά από το καθορισμένο δείκτη σε μια παρουσία της κλάσης ProductInfoHeaderValue.

static int32_t System::Net::Http::Headers::ProductInfoHeaderValue::GetProductInfoLength(String input, int32_t startIndex, System::SharedPtr<ProductInfoHeaderValue> &parsedValue)
ParameterTypeΠεριγραφή
εισόδουςStringΜια συμβολοσειρά για ανάλυση.
startIndexint32_tΜια θέση έναρξης για ανάλυση.
parsedValueSystem::SharedPtr<ProductInfoHeaderValue>&Μια παρουσία όπου θα εκχωρηθεί ένα αναλυμένο αντικείμενο.

ReturnValue

Επιστρέφει το μήκος μιας αναλυμένης υποσυμβολοσειράς, διαφορετικά 0.

Δείτε επίσης