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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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 | |
|---|---|---|
| .gif) | ModelingDocStore | Initializes an instance of the ModelingDocStore class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | CanRefreshPropertyBrowser | Gets the modeling document store and verifies whether the property window should automatically refresh. | 
| .gif) | Context | Gets the context for the store. | 
| .gif) | ModelingDocuments | Gets the collection of models that are sharing the store. | 
| .gif) | ServiceProvider | Gets the service provider that retrieves Visual Studio shell services. | 
| .gif) | ShareCount | Gets the flag that indicates whether multiple models share the store. | 
| .gif) | ShouldDisposeStore | Gets the modeling document store and verifies whether the store should be disposed. | 
| .gif) | Store | Gets the store for the model. | 
| .gif) | UndoManager | Gets the UndoManager for the store. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | CanCommit | Gets the modeling document store and verifies whether the top-level transaction can be committed. | 
| .gif) | CanUndoRedo | Gets the modeling document store and verifies whether a transaction can be undone or redone. | 
| .gif) | ConnectDocData | Creates a connection between the store and the model. | 
| .gif) | CreateUndoUnit | Creates an instance of the UndoUnit class, which enables transactions to be undone in the store. | 
| .gif) | Dispose() | Releases all resources used by the current instance of the ModelingDocStore class. | 
| .gif) | Dispose(Boolean) | Releases the unmanaged resources that the ModelingDocStore used and optionally releases the managed resources. | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | FlushUndoManager | Clears the transactions that the store maintained. | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Initialize | Initializes the store for the model. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | RemoveDocData | Removes the connection between the store and the model. | 
| .gif) | SetEncoding | Sets the encoding for each doc data linked to the store | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) .gif) | 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.