Méthode System::ObjectType::GetType

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour les types primitifs.

template<typename T> static std::enable_if<std::is_fundamental<T>::value &&!std::is_enum<T>::value, constSystem::TypeInfo &>::type System::ObjectType::GetType()
ParamètreDescription
TType primitif.

ReturnValue

Référence constante à la structure TypeInfo décrivant le type spécifié.

Voir aussi

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour les types d’énumération.

template<typename T> static std::enable_if<std::is_enum<T>::value, constSystem::TypeInfo &>::type System::ObjectType::GetType()
ParamètreDescription
TType primitif.

ReturnValue

Référence constante à la structure TypeInfo décrivant le type spécifié.

Voir aussi

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour les structures et les pointeurs.

template<typename T> static std::enable_if<(!std::is_fundamental<T>::value &&!std::is_enum<T>::value &&!IsBoxable<T>::value)||IsExceptionWrapper<T>::value, constSystem::TypeInfo &>::type System::ObjectType::GetType()
ParamètreDescription
TType primitif.

ReturnValue

Référence constante à la structure TypeInfo décrivant le strcture spécifié.

Voir aussi

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour Nullable.

template<typename T> static std::enable_if<IsNullable<T>::value, constSystem::TypeInfo &>::type System::ObjectType::GetType()
ParamètreDescription
Ttype Nullable.

ReturnValue

Référence constante à la structure TypeInfo décrivant le strcture spécifié.

Voir aussi

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour MutlicastDelegate.

template<typename T> static std::enable_if<detail::is_a<T, MulticastDelegate>::value, constSystem::TypeInfo &>::type System::ObjectType::GetType()
ParamètreDescription
TType MutlicastDelegate.

ReturnValue

Référence constante à la structure TypeInfo décrivant le strcture spécifié.

Voir aussi

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour les structures et les pointeurs.

template<typename T> static std::enable_if<!std::is_fundamental<T>::value &&!std::is_enum<T>::value &&IsBoxable<T>::value &&!detail::is_a<T, MulticastDelegate>::value &&!IsNullable<T>::value, constSystem::TypeInfo &>::type System::ObjectType::GetType()
ParamètreDescription
TType primitif.

ReturnValue

Référence constante à la structure TypeInfo décrivant le strcture spécifié ou le type pointé si appelé pour SmartPtr.

Voir aussi

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour uint8_t.

const System::TypeInfo & System::ObjectType::GetType()

Voir aussi

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour char16_t.

const System::TypeInfo & System::ObjectType::GetType()

Voir aussi

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour int32_t.

const System::TypeInfo & System::ObjectType::GetType()

Voir aussi

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour int64_t.

const System::TypeInfo & System::ObjectType::GetType()

Voir aussi

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour bool.

const System::TypeInfo & System::ObjectType::GetType()

Voir aussi

ObjectType::GetType() method

Implémente la traduction de typeof(). Surcharge pour Void.

const System::TypeInfo & System::ObjectType::GetType()

Voir aussi

ObjectType::GetType(const String&) method

Implémente la traduction de typeof(). Surcharge pour le type string.

static const System::TypeInfo & System::ObjectType::GetType(const String &obj)
ParamètreDescription
TType primitif.

ReturnValue

Référence constante à la structure TypeInfo décrivant le type String.

Voir aussi

ObjectType::GetType(const T&) method

Implémente la traduction de typeof(). Surcharge pour les pointeurs intelligents.

template<typename T> static std::enable_if<IsSmartPtr<T>::value, constSystem::TypeInfo &>::type System::ObjectType::GetType(const T &obj)
ParamètreDescription
TType d’objet pointeur.
ParamètreTypeDescription
objconst T&Object pour obtenir le TypeInfo.

ReturnValue

Référence constante à la structure TypeInfo décrivant la classe finale de l’objet passé.

Voir aussi

ObjectType::GetType(const T&) method

Implémente la traduction de typeof(). Surcharge pour les structures.

template<typename T> static std::enable_if<!IsExceptionWrapper<T>::value &&!IsSmartPtr<T>::value &&!std::is_fundamental<T>::value &&!std::is_enum<T>::value &&!IsNullable<T>::value, constSystem::TypeInfo &>::type System::ObjectType::GetType(const T &obj)
ParamètreDescription
Ttype de structure.
ParamètreTypeDescription
objconst T&Object pour obtenir le TypeInfo.

ReturnValue

Référence constante à la structure TypeInfo décrivant la classe finale de l’objet passé.

Voir aussi

ObjectType::GetType(const T&) method

Implémente la traduction de typeof(). Surcharge pour les exceptions.

template<typename T> static std::enable_if<IsExceptionWrapper<T>::value, constSystem::TypeInfo &>::type System::ObjectType::GetType(const T &obj)
ParamètreDescription
TType Exception.
ParamètreTypeDescription
objconst T&Object pour obtenir le TypeInfo.

ReturnValue

Référence constante à la structure TypeInfo décrivant la classe finale de l’objet passé.

Voir aussi

ObjectType::GetType(const T) method

Implémente la traduction de typeof(). Surcharge pour les types primitifs.

template<typename T> static std::enable_if<std::is_fundamental<T>::value||std::is_enum<T>::value, constSystem::TypeInfo &>::type System::ObjectType::GetType(const T obj)
ParamètreDescription
TType primitif.
ParamètreTypeDescription
objconst TIGNORED

ReturnValue

Référence constante à la structure TypeInfo décrivant le type de l’objet passé.

Voir aussi

ObjectType::GetType(const T) method

Implémente la traduction de typeof(). Surcharge pour les types Nullable.

template<typename T> static std::enable_if<IsNullable<T>::value, constSystem::TypeInfo &>::type System::ObjectType::GetType(const T obj)
ParamètreDescription
Ttype Nullable.
ParamètreTypeDescription
objconst TIGNORED

ReturnValue

Référence constante à la structure TypeInfo décrivant le type de l’objet passé.

Voir aussi