Share via


ModelStore.CreateExternalElement<TElement> Method

Creates an external element of the specified type.

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

Syntax

'Declaration
Protected Friend Function CreateExternalElement(Of TElement As IModelElement) As TElement
protected internal TElement CreateExternalElement<TElement>()
where TElement : IModelElement
protected public:
generic<typename TElement>
where TElement : IModelElement
TElement CreateExternalElement()
member CreateExternalElement : unit -> 'TElement  when 'TElement : IModelElement
JScript does not support generic types or methods.

Type Parameters

  • TElement
    A Type that represents the type of element to return.

Return Value

Type: TElement
An external element is an element that is referenced from an element in the current ModelSchema, but it is not part of the current model.

.NET Framework Security

See Also

Reference

ModelStore Class

CreateExternalElement Overload

Microsoft.Data.Schema.SchemaModel Namespace

ModelSchema