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
- modelElement
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
An IModelElement object.
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
An IModelElement.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SchemaCompareScriptService Class