Share via


ModelStore.CreateElement Method (ModelElementClass)

Creates an element by using the given element metadata object.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Function CreateElement ( _
    elementClass As ModelElementClass _
) As IModelElement
public IModelElement CreateElement(
    ModelElementClass elementClass
)
public:
IModelElement^ CreateElement(
    ModelElementClass^ elementClass
)
member CreateElement : 
        elementClass:ModelElementClass -> IModelElement 
public function CreateElement(
    elementClass : ModelElementClass
) : IModelElement

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The created element.

.NET Framework Security

See Also

Reference

ModelStore Class

CreateElement Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelElementClass