Share via


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

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

Properties

Name Description
System_CAPS_pubproperty Boolean

The primitive Boolean type that is defined in this IModelStore.

System_CAPS_pubproperty Integer

The primitive Integer type that is defined in this IModelStore.

System_CAPS_pubproperty IsReadOnly

If true, the model cannot be updated.

System_CAPS_pubproperty ProfileManager

Provides access to the collection of Profiles available in the Model.

System_CAPS_pubproperty Root

The package that contains all the other elements of the model.

System_CAPS_pubproperty String

The primitive String type that is defined in this IModelStore.

System_CAPS_pubproperty UnlimitedNatural

The primitive UnlimitedNatural type that is defined in this IModelStore.

Methods

Name Description
System_CAPS_pubmethod AllInstances<T>()

All elements in the model store that belong to the specified type T or one of its subtypes.

System_CAPS_pubmethod FindElement(Guid)

The element in the store that has a specific GUID, or null.

System_CAPS_pubmethod Instances<T>()

All elements in the model store that have the specified type T, which should not be abstract.

Extension Methods

Name Description
System_CAPS_pubmethod Diagrams(String)

All the open diagrams in the model, of a particular type if specified.(Defined by PresentationHelpers.)

Remarks

For more information about UML diagrams, see Create models for your app.

For more information about using the UML API, see Extend UML models and diagrams.

See Also

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top