System::ObjectExt::Unbox 메서드

ObjectExt::Unbox(const SmartPtr<Object>&) method

값 타입을 Object로 변환한 후 언박스합니다. enum 타입에 대한 구현입니다.

template<typename T> static std::enable_if<std::is_enum<T>::value, T>::type System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
매개변수설명
TEnum 타입.
매개변수형식설명
objconst SmartPtr<Object>&Object를 언박스합니다.

ReturnValue

Enum value.

또 보기

ObjectExt::Unbox(const SmartPtr<Object>&) method

값 타입을 Object로 변환한 후 언박스합니다. 비 enum 및 비 nullable 타입에 대한 구현입니다.

template<class T> static std::enable_if<!std::is_enum<T>::value &&detail::has_operator_equal<T>::value, T>::type System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
매개변수설명
T값 형식.
매개변수형식설명
objconst SmartPtr<Object>&Object를 언박스합니다.

ReturnValue

언박스된 값.

또 보기

ObjectExt::Unbox(const SmartPtr<Object>&) method

값 타입을 Object로 변환한 후 언박스합니다. 비 enum 및 비 nullable 타입에 대한 구현입니다.

template<class T> static std::enable_if<!std::is_enum<T>::value &&!detail::has_operator_equal<T>::value, T>::type System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
매개변수설명
T값 형식.
매개변수형식설명
objconst SmartPtr<Object>&Object를 언박스합니다.

ReturnValue

언박스된 값.

또 보기

ObjectExt::Unbox(const SmartPtr<Object>&) method

문자열 값을 언박싱합니다.

String System::ObjectExt::Unbox(const SmartPtr<Object> &obj)
매개변수형식설명
objconst SmartPtr<Object>&Object를 언박스합니다

ReturnValue

String representation of boxed string, can be null if boxed string was null.

또 보기

ObjectExt::Unbox(E) method

enum 유형을 정수로 언박싱합니다.

template<class T,class E> static std::enable_if<std::is_enum<E>::value &&std::numeric_limits<T>::is_integer, T>::type System::ObjectExt::Unbox(E e)
매개변수설명
T대상 정수 타입.
E원본 enum 타입.
매개변수형식설명
eE언박싱할 값.

ReturnValue

열거형의 정수 표현.

또 보기

ObjectExt::Unbox(E) method

enum 유형을 변환합니다.

template<class T,class E> static std::enable_if<std::is_enum<E>::value &&std::is_enum<T>::value, T>::type System::ObjectExt::Unbox(E e)
매개변수설명
T대상 열거형 타입.
E원본 enum 타입.
매개변수형식설명
eE언박싱할 값.

ReturnValue

변환된 열거형 값.

또 보기