ModelingDocStore Class

 

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

Namespace:   Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling.Shell::ModelingDocStore

[CLSCompliantAttribute(false)]
public ref class ModelingDocStore : IDisposable

NameDescription
System_CAPS_pubmethodModelingDocStore(IServiceProvider^, Store^)

Initializes an instance of the ModelingDocStore class.

NameDescription
System_CAPS_protpropertyCanRefreshPropertyBrowser

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

System_CAPS_pubpropertyContext

Gets the context for the store.

System_CAPS_pubpropertyModelingDocuments

Gets the collection of models that are sharing the store.

System_CAPS_protpropertyServiceProvider

Gets the service provider that retrieves Visual Studio shell services.

System_CAPS_pubpropertyShareCount

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

System_CAPS_protpropertyShouldDisposeStore

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

System_CAPS_pubpropertyStore

Gets the store for the model.

System_CAPS_pubpropertyUndoManager

Gets the UndoManager for the store.

NameDescription
System_CAPS_pubmethodCanCommit(Transaction^)

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

System_CAPS_pubmethodCanUndoRedo(Boolean, TransactionItem^)

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

System_CAPS_pubmethodConnectDocData(ModelingDocData^)

Creates a connection between the store and the model.

System_CAPS_protmethodCreateUndoUnit(TransactionItem^)

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

System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the ModelingDocStore class.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources that the ModelingDocStore used and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodFlushUndoManager()

Clears the transactions that the store maintained.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitialize()

Initializes the store for the model.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveDocData(ModelingDocData^)

Removes the connection between the store and the model.

System_CAPS_pubmethodSetEncoding(Encoding^)

Sets the encoding for each doc data linked to the store

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticModelingDocStoreKey

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

This class maintains a 1-1 relationship with the store.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: