ModelStore.CreateExternalElement Method (Type)
Creates an external element.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Friend Function CreateExternalElement ( _
elementType As Type _
) As IModelElement
protected internal IModelElement CreateExternalElement(
Type elementType
)
protected public:
IModelElement^ CreateExternalElement(
Type^ elementType
)
member CreateExternalElement :
elementType:Type -> IModelElement
function CreateExternalElement(
elementType : Type
) : IModelElement
Parameters
- elementType
Type: System.Type
The type to be used to define the element, one of the instantiable interfaces.
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
Returns an IModelElement.
.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.