Share via


IModelElement Interface

Base class for all model objects. All object instances representing the model or any of the data in it are ultimately subclassed from this type.

Namespace:  Microsoft.Data.Tools.Model
Assembly:  Microsoft.Data.Tools.Model (in Microsoft.Data.Tools.Model.dll)

Syntax

'Declaration
Public Interface IModelElement _
    Inherits IModelObject
'Usage
Dim instance As IModelElement
public interface IModelElement : IModelObject
public interface class IModelElement : IModelObject
type IModelElement =  
    interface
        interface IModelObject
    end
public interface IModelElement extends IModelObject

The IModelElement type exposes the following members.

Properties

  Name Description
Public property ChildNodes Returns the contained model objects of this model object that are immediate children of it, i.e. they are values of one of this object's properties. (Inherited from IModelObject.)
Public property Model Gets {insert text here}. (Inherited from IModelObject.)
Public property ParentNode Returns the parent model object that contains this node (null for the root of the model object tree) (Inherited from IModelObject.)

Top

Methods

  Name Description
Public method CreateScript (Inherited from IModelObject.)
Public method Delete Removes this IModelObject from the model.

Top

Extension Methods

  Name Description
Public Extension Method AddAnnotation (Defined by ModelExtensions.)
Public Extension Method GetAncestor< (Of < <' (T> ) > > ) (Defined by ModelExtensions.)
Public Extension Method TryGetAnnotation (Defined by ModelExtensions.)

Top

See Also

Reference

Microsoft.Data.Tools.Model Namespace