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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。