IModelingProjectReader Interface

Accesses a modeling project in read only mode.

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

Syntax

'Declaration
Public Interface IModelingProjectReader _
    Inherits IDisposable
public interface IModelingProjectReader : IDisposable
public interface class IModelingProjectReader : IDisposable
type IModelingProjectReader =  
    interface 
        interface IDisposable 
    end
public interface IModelingProjectReader extends IDisposable

The IModelingProjectReader type exposes the following members.

Properties

  Name Description
Public property DiagramFileNames The names of diagram files available in the modeling project.
Public property Store The IModelStore containing the model that has been read.

Top

Methods

  Name Description
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method LoadDiagram Opens a specified diagram. The diagram must belong to this modeling project.

Top

Extension Methods

  Name Description
Public Extension Method GetLoadMessages() Overloaded. Gets any error messages generated when the IModelingProjectReader was used to read a model. (Defined by ModelingProjectExtensions.)
Public Extension Method GetLoadMessages<T>() Overloaded. Gets any error messages generated when the IModelingProjectReader was used to read a model. (Defined by ModelingProjectExtensions.)

Top

Remarks

For more information about UML diagrams, see Developing Models for Software Design.

For more information about using the UML API, see Extending UML Models and Diagrams.

See Also

Reference

Microsoft.VisualStudio.ArchitectureTools.Extensibility Namespace