ModelStore.CreateExternalNamedElement<TElement> Method (ModelIdentifier)
Creates a named external element of the specified type by using the provided element metadata object and identifier.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Friend Function CreateExternalNamedElement(Of TElement As IModelElement) ( _
identifier As ModelIdentifier _
) As TElement
protected internal TElement CreateExternalNamedElement<TElement>(
ModelIdentifier identifier
)
where TElement : IModelElement
protected public:
generic<typename TElement>
where TElement : IModelElement
TElement CreateExternalNamedElement(
ModelIdentifier^ identifier
)
member CreateExternalNamedElement :
identifier:ModelIdentifier -> 'TElement when 'TElement : IModelElement
JScript does not support generic types or methods.
Type Parameters
- TElement
A Type that is derived from IModelElement.
Parameters
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A ModelIdentifier object that represents the name of the new external element.
Return Value
Type: TElement
An external 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.
See Also
Reference
CreateExternalNamedElement Overload