AttributedModelServices.CreatePartDefinition Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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.