AttributedModelServices.CreatePartDefinition メソッド

定義

指定した型と原点を持つパーツ定義を作成します。

オーバーロード

名前 説明
CreatePartDefinition(Type, ICompositionElement)

指定した型と原点を持つパーツ定義を作成します。

CreatePartDefinition(Type, ICompositionElement, Boolean)

指定した型と原点を持つパーツ定義を作成します。

CreatePartDefinition(Type, ICompositionElement)

指定した型と原点を持つパーツ定義を作成します。

public:
 static System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ CreatePartDefinition(Type ^ type, System::ComponentModel::Composition::Primitives::ICompositionElement ^ origin);
public static System.ComponentModel.Composition.Primitives.ComposablePartDefinition CreatePartDefinition(Type type, System.ComponentModel.Composition.Primitives.ICompositionElement origin);
static member CreatePartDefinition : Type * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Primitives.ComposablePartDefinition
Public Function CreatePartDefinition (type As Type, origin As ICompositionElement) As ComposablePartDefinition

パラメーター

type
Type

定義の型。

origin
ICompositionElement

定義の原点。

返品

新しいパーツ定義。

適用対象

CreatePartDefinition(Type, ICompositionElement, Boolean)

指定した型と原点を持つパーツ定義を作成します。

public:
 static System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ CreatePartDefinition(Type ^ type, System::ComponentModel::Composition::Primitives::ICompositionElement ^ origin, bool ensureIsDiscoverable);
public static System.ComponentModel.Composition.Primitives.ComposablePartDefinition CreatePartDefinition(Type type, System.ComponentModel.Composition.Primitives.ICompositionElement origin, bool ensureIsDiscoverable);
static member CreatePartDefinition : Type * System.ComponentModel.Composition.Primitives.ICompositionElement * bool -> System.ComponentModel.Composition.Primitives.ComposablePartDefinition
Public Function CreatePartDefinition (type As Type, origin As ICompositionElement, ensureIsDiscoverable As Boolean) As ComposablePartDefinition

パラメーター

type
Type

定義の型。

origin
ICompositionElement

定義の原点。

ensureIsDiscoverable
Boolean

新しい定義を検出可能にするかどうかを示す値。

返品

新しいパーツ定義。

適用対象