AttributedModelServices.CreatePartDefinition Método

Definición

Crea una definición de elemento con el tipo y el origen especificados.

Sobrecargas

CreatePartDefinition(Type, ICompositionElement)

Crea una definición de elemento con el tipo y el origen especificados.

CreatePartDefinition(Type, ICompositionElement, Boolean)

Crea una definición de elemento con el tipo y el origen especificados.

CreatePartDefinition(Type, ICompositionElement)

Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs

Crea una definición de elemento con el tipo y el origen especificados.

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

Parámetros

type
Type

El tipo de la definición.

origin
ICompositionElement

Origen de la definición.

Devoluciones

Definición del nuevo elemento.

Se aplica a

CreatePartDefinition(Type, ICompositionElement, Boolean)

Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs
Source:
AttributedModelServices.cs

Crea una definición de elemento con el tipo y el origen especificados.

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

Parámetros

type
Type

El tipo de la definición.

origin
ICompositionElement

Origen de la definición.

ensureIsDiscoverable
Boolean

Valor que indica si la nueva definición debe ser reconocible o no.

Devoluciones

Definición del nuevo elemento.

Se aplica a