Aracılığıyla paylaş


AttributedModelServices.CreatePartDefinition Yöntem

Tanım

Belirtilen tür ve kaynak ile bir parça tanımı oluşturur.

Aşırı Yüklemeler

CreatePartDefinition(Type, ICompositionElement)

Belirtilen tür ve kaynak ile bir parça tanımı oluşturur.

CreatePartDefinition(Type, ICompositionElement, Boolean)

Belirtilen tür ve kaynak ile bir parça tanımı oluşturur.

CreatePartDefinition(Type, ICompositionElement)

Kaynak:
AttributedModelServices.cs
Kaynak:
AttributedModelServices.cs
Kaynak:
AttributedModelServices.cs

Belirtilen tür ve kaynak ile bir parça tanımı oluşturur.

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);
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

Parametreler

type
Type

Tanımın türü.

origin
ICompositionElement

Tanımın kaynağı.

Döndürülenler

Yeni parça tanımı.

Şunlara uygulanır

CreatePartDefinition(Type, ICompositionElement, Boolean)

Kaynak:
AttributedModelServices.cs
Kaynak:
AttributedModelServices.cs
Kaynak:
AttributedModelServices.cs

Belirtilen tür ve kaynak ile bir parça tanımı oluşturur.

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);
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

Parametreler

type
Type

Tanımın türü.

origin
ICompositionElement

Tanımın kaynağı.

ensureIsDiscoverable
Boolean

Yeni tanımın bulunabilir olup olmayacağını belirten bir değer.

Döndürülenler

Yeni parça tanımı.

Şunlara uygulanır