AttributedModelServices.CreatePartDefinition Metoda

Definicja

Tworzy definicję części z określonym typem i źródłem.

Przeciążenia

Nazwa Opis
CreatePartDefinition(Type, ICompositionElement)

Tworzy definicję części z określonym typem i źródłem.

CreatePartDefinition(Type, ICompositionElement, Boolean)

Tworzy definicję części z określonym typem i źródłem.

CreatePartDefinition(Type, ICompositionElement)

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

Tworzy definicję części z określonym typem i źródłem.

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
Źródło:
AttributedModelServices.cs

Tworzy definicję części z określonym typem i źródłem.

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