SchemaCompareScriptService.GetContainingElement 方法

返回包含所提供元素的脚本的元素。

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

语法

声明
Public Overridable Function GetContainingElement ( _
    modelElement As IModelElement _
) As IModelElement
public virtual IModelElement GetContainingElement(
    IModelElement modelElement
)
public:
virtual IModelElement^ GetContainingElement(
    IModelElement^ modelElement
)
abstract GetContainingElement : 
        modelElement:IModelElement -> IModelElement 
override GetContainingElement : 
        modelElement:IModelElement -> IModelElement 
public function GetContainingElement(
    modelElement : IModelElement
) : IModelElement

参数

返回值

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

.NET Framework 安全性

请参见

参考

SchemaCompareScriptService 类

Microsoft.Data.Schema.Tools.Compare.Schema 命名空间

IModelElement