Udostępnij za pośrednictwem


AttributedModelServices.CreatePartDefinition Metoda

Definicja

Tworzy definicję części o określonym typie i pochodzeniu.

Przeciążenia

CreatePartDefinition(Type, ICompositionElement)

Tworzy definicję części o określonym typie i pochodzeniu.

CreatePartDefinition(Type, ICompositionElement, Boolean)

Tworzy definicję części o określonym typie i pochodzeniu.

CreatePartDefinition(Type, ICompositionElement)

Źródło:
AttributedModelServices.cs
Źródło:
AttributedModelServices.cs
Źródło:
AttributedModelServices.cs

Tworzy definicję części o określonym typie i pochodzeniu.

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

Parametry

type
Type

Typ definicji.

origin
ICompositionElement

Początek definicji.

Zwraca

Nowa definicja części.

Dotyczy

CreatePartDefinition(Type, ICompositionElement, Boolean)

Źródło:
AttributedModelServices.cs
Źródło:
AttributedModelServices.cs
Źródło:
AttributedModelServices.cs

Tworzy definicję części o określonym typie i pochodzeniu.

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

Parametry

type
Type

Typ definicji.

origin
ICompositionElement

Początek definicji.

ensureIsDiscoverable
Boolean

Wartość wskazująca, czy nowa definicja powinna być wykrywalna.

Zwraca

Nowa definicja części.

Dotyczy