다음을 통해 공유


IModelStore Interface

The store associated with an IModelingProject, in which UML model elements are stored.

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

Syntax

'Declaration
Public Interface IModelStore
public interface IModelStore
public interface class IModelStore
type IModelStore =  interface end
public interface IModelStore

The IModelStore type exposes the following members.

Properties

  Name Description
Public property Boolean The primitive Boolean type that is defined in this IModelStore.
Public property Integer The primitive Integer type that is defined in this IModelStore.
Public property IsReadOnly If true, the model cannot be updated.
Public property ProfileManager Provides access to the collection of Profiles available in the Model.
Public property Root The package that contains all the other elements of the model.
Public property String The primitive String type that is defined in this IModelStore.
Public property UnlimitedNatural The primitive UnlimitedNatural type that is defined in this IModelStore.

Top

Methods

  Name Description
Public method AllInstances<T> All elements in the model store that belong to the specified type T or one of its subtypes.
Public method FindElement The element in the store that has a specific GUID, or null.
Public method Instances<T> All elements in the model store that have the specified type T, which should not be abstract.

Top

Extension Methods

  Name Description
Public Extension Method Diagrams All the open diagrams in the model, of a particular type if specified. (Defined by PresentationHelpers.)

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.Uml Namespace