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
参数
- modelElement
类型:Microsoft.Data.Schema.SchemaModel.IModelElement
一个 IModelElement 对象。
返回值
类型:Microsoft.Data.Schema.SchemaModel.IModelElement
一个 IModelElement。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。