System::BoxedValueBase::Parse मेथड

BoxedValueBase::Parse(const TypeInfo&, const String&) method

निर्दिष्ट नाम वाले enumeration के enumeration constant के मान को बॉक्स करता है।

static SharedPtr<Object> System::BoxedValueBase::Parse(const TypeInfo &type, const String &str)
पैरामीटरप्रकारविवरण
प्रकारconst TypeInfo&enumeration का प्रकार निर्दिष्ट करता है
strconst String&enumeration constant का नाम, जिसका वैल्यू बॉक्स किया जाना है

ReturnValue

निर्दिष्ट enumeration constant के बॉक्स्ड वैल्यू का प्रतिनिधित्व करने वाले ऑब्जेक्ट का shared pointer

संबंधित देखें

BoxedValueBase::Parse(const TypeInfo&, const String&, bool) method

निर्दिष्ट नाम वाले enumeration के enumeration constant के मान को बॉक्स करता है। एक पैरामीटर यह निर्धारित करता है कि enumeration constant के नाम को दर्शाने वाली स्ट्रिंग की व्याख्या करते समय केस को अनदेखा किया जाना चाहिए या नहीं।

static SharedPtr<Object> System::BoxedValueBase::Parse(const TypeInfo &type, const String &str, bool ignoreCase)
पैरामीटरप्रकारविवरण
प्रकारconst TypeInfo&enumeration का प्रकार निर्दिष्ट करता है
strconst String&enumeration constant का नाम, जिसका वैल्यू बॉक्स किया जाना है
ignoreCaseboolनिर्दिष्ट करता है कि enumeration constant के नाम को दर्शाने वाली स्ट्रिंग की व्याख्या करते समय केस को अनदेखा किया जाना चाहिए या नहीं

ReturnValue

निर्दिष्ट enumeration constant के बॉक्स्ड वैल्यू का प्रतिनिधित्व करने वाले ऑब्जेक्ट का shared pointer

संबंधित देखें