共用方式為


ReflectionModelServices.GetPartType(ComposablePartDefinition) 方法

定義

從指定的部分定義取得部分的型別。

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)

參數

partDefinition
ComposablePartDefinition

要檢查的部分定義。

傳回

所定義部分的型別。

例外狀況

partDefinitionnull

適用於