System::BoxedValueBase::Parse 메서드

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

지정된 열거형의 지정된 이름을 가진 열거 상수 값을 박싱합니다.

static SharedPtr<Object> System::BoxedValueBase::Parse(const TypeInfo &type, const String &str)
매개변수형식설명
유형const TypeInfo&열거형의 타입을 지정합니다
strconst String&박싱할 값의 열거형 상수 이름

ReturnValue

지정된 열거형 상수의 박싱된 값을 나타내는 객체에 대한 공유 포인터

또 보기

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

지정된 열거형의 지정된 이름을 가진 열거 상수 값을 박싱합니다. 매개변수는 열거 상수 이름 문자열을 해석할 때 대소문자를 무시할지 여부를 지정합니다.

static SharedPtr<Object> System::BoxedValueBase::Parse(const TypeInfo &type, const String &str, bool ignoreCase)
매개변수형식설명
유형const TypeInfo&열거형의 타입을 지정합니다
strconst String&박싱할 값의 열거형 상수 이름
ignoreCasebool열거형 상수 이름을 나타내는 문자열을 해석할 때 대소문자를 무시할지 여부를 지정합니다

ReturnValue

지정된 열거형 상수의 박싱된 값을 나타내는 객체에 대한 공유 포인터

또 보기