ModelStore.CreateExternalNamedElement (Método) (Type, ModelIdentifier)
Crea un elemento externo con nombre utilizando el tipo y el identificador proporcionados.
Espacio de nombres: Microsoft.Data.Schema.SchemaModel
Ensamblado: Microsoft.Data.Schema (en Microsoft.Data.Schema.dll)
Sintaxis
'Declaración
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
Parámetros
- elementType
Tipo: System.Type
Un objeto Type que se deriva de IModelElement.
- identifier
Tipo: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
Un objeto ModelIdentifier que representa el nombre del nuevo elemento externo.
Valor devuelto
Tipo: Microsoft.Data.Schema.SchemaModel.IModelElement
Un elemento externo.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
CreateExternalNamedElement (Sobrecarga)