Share via


ModelingDocStore Members

Include Protected Members
Include Inherited Members

Represents a model's in-memory elements and links.

The ModelingDocStore type exposes the following members.

Constructors

 

Name

Description

Public method

ModelingDocStore

Initializes an instance of the ModelingDocStore class.

Top

Methods

 

Name

Description

Public method

CanCommit

Gets the modeling document store and verifies whether the top-level transaction can be committed.

Public method

CanUndoRedo

Gets the modeling document store and verifies whether a transaction can be undone or redone.

Public method

ConnectDocData

Creates a connection between the store and the model.

Protected method

CreateUndoUnit

Creates an instance of the UndoUnit class, which enables transactions to be undone in the store.

Public method

Dispose

Overloaded.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Protected method

FlushUndoManager

Clears the transactions that the store maintained.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

Initialize

Initializes the store for the model.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

RemoveDocData

Removes the connection between the store and the model.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

 

Name

Description

Public fieldStatic member

ModelingDocStoreKey

Key that indexes the store in the store's property bag.

Top

Properties

 

Name

Description

Protected property

CanRefreshPropertyBrowser

Gets the modeling document store and verifies whether the property window should automatically refresh.

Public property

Context

Gets the context for the store.

Protected property

ModelingDocuments

Gets the collection of models that are sharing the store.

Protected property

ServiceProvider

Gets the service provider that retrieves Visual Studio shell services.

Public property

ShareCount

Gets the flag that indicates whether multiple models share the store.

Protected property

ShouldDisposeStore

Gets the modeling document store and verifies whether the store should be disposed.

Public property

Store

Gets the store for the model.

Public property

UndoManager

Gets the UndoManager for the store.

Top

See Also

Reference

ModelingDocStore Class

Microsoft.VisualStudio.Modeling.Shell Namespace