Share via


ILayerModel Interface

Root layer model

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)

Syntax

'Declaration
Public Interface ILayerModel _
    Inherits ILayerContainer, ILayerElement
public interface ILayerModel : ILayerContainer, 
    ILayerElement
public interface class ILayerModel : ILayerContainer, 
    ILayerElement
type ILayerModel =  
    interface
        interface ILayerContainer
        interface ILayerElement
    end
public interface ILayerModel extends ILayerContainer, ILayerElement

The ILayerModel type exposes the following members.

Properties

  Name Description
Public property Comments Get the comments that are contained in this element (not the comments that are linked to it). (Inherited from ILayerContainer.)
Public property Description Get/set the description. (Inherited from ILayerElement.)
Public property Id Gets the unique identifier of this element. (Inherited from ILayerElement.)
Public property IsDeleted Check whether this element has been deleted. (Inherited from ILayerElement.)
Public property Layers Get the layers that are contained in this element. (Inherited from ILayerContainer.)
Public property Name Get/set the unique name. (Inherited from ILayerElement.)
Public property Properties Gets a string dictionary that you can use to store arbitrary data with each ILayerElement. (Inherited from ILayerElement.)

Top

Extension Methods

  Name Description
Public Extension Method CreateComment() Overloaded. (Defined by Extensions.)
Public Extension Method CreateComment(String) Overloaded. Create a comment. (Defined by Extensions.)
Public Extension Method CreateLayer() Overloaded. (Defined by Extensions.)
Public Extension Method CreateLayer(String) Overloaded. Create a new layer. (Defined by Extensions.)
Public Extension Method Delete Delete the element. (Defined by Extensions.)
Public Extension Method GetDiagram Get the diagram that presents this model. (Defined by Extensions.)
Public Extension Method GetShape Get the shape that presents this layer element. (Defined by Extensions.)

Top

See Also

Reference

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace

Other Resources

Layer Diagrams: Reference