ModelStore.CreateExternalNamedElement Method (ModelElementClass, ModelIdentifier)
Creates a named external element 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 ( _
elementClass As ModelElementClass, _
identifier As ModelIdentifier _
) As IModelElement
protected internal IModelElement CreateExternalNamedElement(
ModelElementClass elementClass,
ModelIdentifier identifier
)
protected public:
IModelElement^ CreateExternalNamedElement(
ModelElementClass^ elementClass,
ModelIdentifier^ identifier
)
member CreateExternalNamedElement :
elementClass:ModelElementClass *
identifier:ModelIdentifier -> IModelElement
function CreateExternalNamedElement(
elementClass : ModelElementClass,
identifier : ModelIdentifier
) : IModelElement
Parameters
- elementClass
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
A ModelElementClass metadata object.
- 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