ModelStore.CreateExternalNamedElement 方法 (Type, ModelIdentifier)
使用提供的型別和識別項,建立具名外部項目。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
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
參數
- elementType
型別:System.Type
Type ,衍生自 IModelElement。
- identifier
型別:Microsoft.Data.Schema.SchemaModel.ModelIdentifier
ModelIdentifier 物件,表示新外部項目的名稱。
傳回值
型別:Microsoft.Data.Schema.SchemaModel.IModelElement
外部項目。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。