طريقة System::Net::Http::Headers::CacheControlHeaderValue::GetCacheControlLength

CacheControlHeaderValue::GetCacheControlLength method

يحوِّل سلسلة مُمرَّرة من الفهرس المحدد إلى مثيل من الفئة CacheControlHeaderValue.

static int32_t System::Net::Http::Headers::CacheControlHeaderValue::GetCacheControlLength(String input, int32_t startIndex, System::SharedPtr<CacheControlHeaderValue> storeValue, System::SharedPtr<CacheControlHeaderValue> &parsedValue)
معاملنوعالوصف
الإدخالStringسلسلة للتحليل.
startIndexint32_tموضع بدء للتحليل.
storeValueSystem::SharedPtr<CacheControlHeaderValue>قيمة يجب إضافتها إلى الكائن المُحلَّل.
parsedValueSystem::SharedPtr<CacheControlHeaderValue>&نسخة حيث سيتم تعيين كائن مُحلَّل.

ReturnValue

طول الجزء الفرعي المُحلَّل، وإلا 0.

انظر أيضًا