Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new element instance of a specified type.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Function CreateElement ( _
domainClass As DomainClassInfo _
) As ModelElement
public ModelElement CreateElement(
DomainClassInfo domainClass
)
public:
ModelElement^ CreateElement(
DomainClassInfo^ domainClass
)
member CreateElement :
domainClass:DomainClassInfo -> ModelElement
public function CreateElement(
domainClass : DomainClassInfo
) : ModelElement
Parameters
domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfoThe domain class of the object to be created.
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
A new ModelElement object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.