Partage via


ReflectionModelServices.GetPartType(ComposablePartDefinition) Méthode

Définition

Obtient le type d'un composant à partir d'une définition de composant spécifiée.

public:
 static Lazy<Type ^> ^ GetPartType(System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ partDefinition);
public static Lazy<Type> GetPartType (System.ComponentModel.Composition.Primitives.ComposablePartDefinition partDefinition);
static member GetPartType : System.ComponentModel.Composition.Primitives.ComposablePartDefinition -> Lazy<Type>
Public Shared Function GetPartType (partDefinition As ComposablePartDefinition) As Lazy(Of Type)

Paramètres

partDefinition
ComposablePartDefinition

Définition de composant à examiner.

Retours

Type du composant défini.

Exceptions

partDefinition a la valeur null.

S’applique à