CoreDesignSurfaceDomainModel.CreateElement (Método)

Crea un elemento del tipo especificado.

Espacio de nombres:  Microsoft.VisualStudio.Modeling.Diagrams
Ensamblado:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (en Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Sintaxis

'Declaración
Public Overrides NotOverridable Function CreateElement ( _
    partition As Partition, _
    elementType As Type, _
    propertyAssignments As PropertyAssignment() _
) As ModelElement
public override sealed ModelElement CreateElement(
    Partition partition,
    Type elementType,
    PropertyAssignment[] propertyAssignments
)

Parámetros

  • elementType
    Tipo: System.Type
    tipo de elemento que pertenece a este modelo de dominio.

Valor devuelto

Tipo: Microsoft.VisualStudio.Modeling.ModelElement

Seguridad de .NET Framework

Vea también

Referencia

CoreDesignSurfaceDomainModel Clase

Microsoft.VisualStudio.Modeling.Diagrams (Espacio de nombres)