Share via


SchemaCompareScriptService.GetContainingElement Method

Returns the element that contains the script for the provided element.

Namespace:  Microsoft.Data.Schema.Tools.Compare.Schema
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelElement
An IModelElement.

.NET Framework Security

See Also

Reference

SchemaCompareScriptService Class

Microsoft.Data.Schema.Tools.Compare.Schema Namespace

IModelElement