Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a model's in-memory elements and links.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Shell.ModelingDocStore
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Class ModelingDocStore _
Implements IDisposable
[CLSCompliantAttribute(false)]
public class ModelingDocStore : IDisposable
[CLSCompliantAttribute(false)]
public ref class ModelingDocStore : IDisposable
[<CLSCompliantAttribute(false)>]
type ModelingDocStore =
class
interface IDisposable
end
public class ModelingDocStore implements IDisposable
The ModelingDocStore type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
ModelingDocStore | Initializes an instance of the ModelingDocStore class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
CanRefreshPropertyBrowser | Gets the modeling document store and verifies whether the property window should automatically refresh. |
![]() |
Context | Gets the context for the store. |
![]() |
ModelingDocuments | Gets the collection of models that are sharing the store. |
![]() |
ServiceProvider | Gets the service provider that retrieves Visual Studio shell services. |
![]() |
ShareCount | Gets the flag that indicates whether multiple models share the store. |
![]() |
ShouldDisposeStore | Gets the modeling document store and verifies whether the store should be disposed. |
![]() |
Store | Gets the store for the model. |
![]() |
UndoManager | Gets the UndoManager for the store. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
CanCommit | Gets the modeling document store and verifies whether the top-level transaction can be committed. |
![]() |
CanUndoRedo | Gets the modeling document store and verifies whether a transaction can be undone or redone. |
![]() |
ConnectDocData | Creates a connection between the store and the model. |
![]() |
CreateUndoUnit | Creates an instance of the UndoUnit class, which enables transactions to be undone in the store. |
![]() |
Dispose() | Releases all resources used by the current instance of the ModelingDocStore class. |
![]() |
Dispose(Boolean) | Releases the unmanaged resources that the ModelingDocStore used and optionally releases the managed resources. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
FlushUndoManager | Clears the transactions that the store maintained. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Initialize | Initializes the store for the model. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
RemoveDocData | Removes the connection between the store and the model. |
![]() |
SetEncoding | Sets the encoding for each doc data linked to the store |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
| Name | Description | |
|---|---|---|
![]() ![]() |
ModelingDocStoreKey | Key that indexes the store in the store's property bag. |
Top
Remarks
This class maintains a 1-1 relationship with the store.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)