ModelStore.CreateExternalElement 方法 (Type)

创建外部元素。

命名空间:  Microsoft.Data.Schema.SchemaModel
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Protected Friend Function CreateExternalElement ( _
    elementType As Type _
) As IModelElement
protected internal IModelElement CreateExternalElement(
    Type elementType
)
protected public:
IModelElement^ CreateExternalElement(
    Type^ elementType
)
member CreateExternalElement : 
        elementType:Type -> IModelElement 
 function CreateExternalElement(
    elementType : Type
) : IModelElement

参数

  • elementType
    类型:System.Type
    要用于定义作为可实例化接口之一的元素的类型。

返回值

类型:Microsoft.Data.Schema.SchemaModel.IModelElement
返回一个 IModelElement

.NET Framework 安全性

请参见

参考

ModelStore 类

CreateExternalElement 重载

Microsoft.Data.Schema.SchemaModel 命名空间