ModelStore.CreateExternalNamedElement Method (Type, ModelIdentifier)
Creates a named external element by using the provided type and identifier.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Friend Function CreateExternalNamedElement ( _
elementType As Type, _
identifier As ModelIdentifier _
) As IModelElement
protected internal IModelElement CreateExternalNamedElement(
Type elementType,
ModelIdentifier identifier
)
protected public:
IModelElement^ CreateExternalNamedElement(
Type^ elementType,
ModelIdentifier^ identifier
)
member CreateExternalNamedElement :
elementType:Type *
identifier:ModelIdentifier -> IModelElement
function CreateExternalNamedElement(
elementType : Type,
identifier : ModelIdentifier
) : IModelElement
Parameters
- elementType
Type: System.Type
A Type that is derived from IModelElement.
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A ModelIdentifier object that represents the name of the new external element.
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
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