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
- elementClass
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The created element.
.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.