DesignerDocDataService Class
Provides a way to create and retrieve buffers for various files in the project.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.Design.Serialization.DesignerDocDataService
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Class DesignerDocDataService _
Implements IDisposable, IVsRunningDocTableEvents2, IVsRunningDocTableEvents, IVsHasRelatedSaveItems
[CLSCompliantAttribute(false)]
public class DesignerDocDataService : IDisposable,
IVsRunningDocTableEvents2, IVsRunningDocTableEvents, IVsHasRelatedSaveItems
[CLSCompliantAttribute(false)]
public ref class DesignerDocDataService : IDisposable,
IVsRunningDocTableEvents2, IVsRunningDocTableEvents, IVsHasRelatedSaveItems
[<CLSCompliantAttribute(false)>]
type DesignerDocDataService =
class
interface IDisposable
interface IVsRunningDocTableEvents2
interface IVsRunningDocTableEvents
interface IVsHasRelatedSaveItems
end
public class DesignerDocDataService implements IDisposable, IVsRunningDocTableEvents2, IVsRunningDocTableEvents, IVsHasRelatedSaveItems
The DesignerDocDataService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, DocData) | Initializes a new instance of DesignerDocDataService. | |
DesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, Object) | Initializes a new instance of DesignerDocDataService for the specified node and document data. |
Top
Properties
Name | Description | |
---|---|---|
PrimaryDocData | Gets the document data object for the primaryDocData that was passed into either of this service's overloaded constructors DesignerDocDataService or DesignerDocDataService. | |
PrimaryName | Gets the fully-qualified file name of the primary doc data object. | |
UseWeakEditLock |
Top
Methods
Name | Description | |
---|---|---|
CheckoutFiles | Ensures that all relevant buffers are checked out. | |
Dispose | Disposes the service. | |
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.) | |
Flush | Performs a forced flush of all pending changes to the designer. | |
GetChildDocData | Gets a DocData with the given name. | |
GetChildFileName | Returns the absolute path of a child file from its name. | |
GetFileDocData(String, FileAccess, String) | Retrieves a DocData with the given name. | |
GetFileDocData(String, FileAccess, String, Boolean) | ||
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetSiblingDocData | Gets a DocData with the given name. | |
GetSiblingFileName | Gets the absolute path of the sibling file name from the file name. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasChild | Determines whether or not there is a child DocData with a given name. | |
HasFile | Determines whether or not there is a DocData with a given fileName. | |
HasSibling | Determines whether or not there is a sibling DocData with the specified name. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SaveDocData | Performs a save on the given doc data. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IVsHasRelatedSaveItems.GetRelatedSaveTreeItems | Coordinates save operations across the documents maintained by this service. | |
IVsRunningDocTableEvents.OnAfterAttributeChange | Called after an attribute has changed on a document in the Running Document Table. | |
IVsRunningDocTableEvents.OnAfterDocumentWindowHide | Called after a document window is hidden. | |
IVsRunningDocTableEvents.OnAfterFirstDocumentLock | Called after the first lock of the specified type is applied to the specified document in the Running Document Table (RDT). | |
IVsRunningDocTableEvents.OnAfterSave | Called after a document in the Running Document Table (RDT) is saved. | |
IVsRunningDocTableEvents.OnBeforeDocumentWindowShow | Called before a document window is displayed. | |
IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock | Called before the last lock of the specified type is released on the specified document in the Running Document Table (RDT). | |
IVsRunningDocTableEvents2.OnAfterAttributeChange | Called after an attribute has changed on a document in the Running Document Table. | |
IVsRunningDocTableEvents2.OnAfterAttributeChangeEx | Called after an attribute has changed on a document in the Running Document Table. | |
IVsRunningDocTableEvents2.OnAfterDocumentWindowHide | Called after a document window is hidden. | |
IVsRunningDocTableEvents2.OnAfterFirstDocumentLock | Called after the first lock of the specified type is applied to the specified document in the Running Document Table (RDT). | |
IVsRunningDocTableEvents2.OnAfterSave | Called after a document in the Running Document Table (RDT) is saved. | |
IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow | Called before a document window is displayed. | |
IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock | Called before the last lock of the specified type is released on the specified document in the Running Document Table (RDT). |
Top
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.