ModelStore.CreateExternalElement Method (ModelElementClass)
Creates an external element by using the provided element metadata object.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Friend Function CreateExternalElement ( _
elementClass As ModelElementClass _
) As IModelElement
protected internal IModelElement CreateExternalElement(
ModelElementClass elementClass
)
protected public:
IModelElement^ CreateExternalElement(
ModelElementClass^ elementClass
)
member CreateExternalElement :
elementClass:ModelElementClass -> IModelElement
function CreateExternalElement(
elementClass : ModelElementClass
) : IModelElement
Parameters
- elementClass
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
An external element.
Remarks
An external element is an element referenced from an element in the current ModelSchema, but it is not part of the current model.
.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.
See Also
Reference
CreateExternalElement Overload