AttributedModelServices.CreatePartDefinition Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Létrehoz egy alkatrészdefiníciót a megadott típussal és forrással.
Túlterhelések
| Name | Description |
|---|---|
| CreatePartDefinition(Type, ICompositionElement) |
Létrehoz egy alkatrészdefiníciót a megadott típussal és forrással. |
| CreatePartDefinition(Type, ICompositionElement, Boolean) |
Létrehoz egy alkatrészdefiníciót a megadott típussal és forrással. |
CreatePartDefinition(Type, ICompositionElement)
- Forrás:
- AttributedModelServices.cs
- Forrás:
- AttributedModelServices.cs
- Forrás:
- AttributedModelServices.cs
- Forrás:
- AttributedModelServices.cs
Létrehoz egy alkatrészdefiníciót a megadott típussal és forrással.
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
Paraméterek
- type
- Type
A definíció típusa.
- origin
- ICompositionElement
A definíció eredete.
Válaszok
Az új részdefiníció.
A következőre érvényes:
CreatePartDefinition(Type, ICompositionElement, Boolean)
- Forrás:
- AttributedModelServices.cs
- Forrás:
- AttributedModelServices.cs
- Forrás:
- AttributedModelServices.cs
- Forrás:
- AttributedModelServices.cs
Létrehoz egy alkatrészdefiníciót a megadott típussal és forrással.
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
Paraméterek
- type
- Type
A definíció típusa.
- origin
- ICompositionElement
A definíció eredete.
- ensureIsDiscoverable
- Boolean
Egy érték, amely jelzi, hogy az új definíció felderíthető-e.
Válaszok
Az új részdefiníció.