Condividi tramite


DesignerDocDataService Members

Include Protected Members
Include Inherited Members

Provides a way to create and retrieve buffers for various files in the project.

The DesignerDocDataService type exposes the following members.

Constructors

  Name Description
Public method DesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, DocData) Initializes a new instance of DesignerDocDataService.
Public method DesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, Object) Initializes a new instance of DesignerDocDataService for the specified node and document data.

Top

Methods

  Name Description
Public method CheckoutFiles Ensures that all relevant buffers are checked out.
Public method Dispose Disposes the service.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Flush Performs a forced flush of all pending changes to the designer.
Public method GetChildDocData Gets a DocData with the given name.
Protected method GetChildFileName Returns the absolute path of a child file from its name.
Public method GetFileDocData(String, FileAccess, String) Retrieves a DocData with the given name.
Public method GetFileDocData(String, FileAccess, String, Boolean)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSiblingDocData Gets a DocData with the given name.
Protected method GetSiblingFileName Gets the absolute path of the sibling file name from the file name.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HasChild Determines whether or not there is a child DocData with a given name.
Public method HasFile Determines whether or not there is a DocData with a given fileName.
Public method HasSibling Determines whether or not there is a sibling DocData with the specified name.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SaveDocData Performs a save on the given doc data.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property PrimaryDocData Gets the document data object for the primaryDocData that was passed into either of this service's overloaded constructors DesignerDocDataService or DesignerDocDataService.
Protected property PrimaryName Gets the fully-qualified file name of the primary doc data object.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IVsHasRelatedSaveItems.GetRelatedSaveTreeItems Coordinates save operations across the documents maintained by this service.
Explicit interface implemetationPrivate method IVsRunningDocTableEvents.OnAfterAttributeChange Called after an attribute has changed on a document in the Running Document Table.
Explicit interface implemetationPrivate method IVsRunningDocTableEvents.OnAfterDocumentWindowHide Called after a document window is hidden.
Explicit interface implemetationPrivate method IVsRunningDocTableEvents.OnAfterFirstDocumentLock Called after the first lock of the specified type is applied to the specified document in the Running Document Table (RDT).
Explicit interface implemetationPrivate method IVsRunningDocTableEvents.OnAfterSave Called after a document in the Running Document Table (RDT) is saved.
Explicit interface implemetationPrivate method IVsRunningDocTableEvents.OnBeforeDocumentWindowShow Called before a document window is displayed.
Explicit interface implemetationPrivate method IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock Called before the last lock of the specified type is released on the specified document in the Running Document Table (RDT).
Explicit interface implemetationPrivate method IVsRunningDocTableEvents2.OnAfterAttributeChange Called after an attribute has changed on a document in the Running Document Table.
Explicit interface implemetationPrivate method IVsRunningDocTableEvents2.OnAfterAttributeChangeEx Called after an attribute has changed on a document in the Running Document Table.
Explicit interface implemetationPrivate method IVsRunningDocTableEvents2.OnAfterDocumentWindowHide Called after a document window is hidden.
Explicit interface implemetationPrivate method IVsRunningDocTableEvents2.OnAfterFirstDocumentLock Called after the first lock of the specified type is applied to the specified document in the Running Document Table (RDT).
Explicit interface implemetationPrivate method IVsRunningDocTableEvents2.OnAfterSave Called after a document in the Running Document Table (RDT) is saved.
Explicit interface implemetationPrivate method IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow Called before a document window is displayed.
Explicit interface implemetationPrivate method IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock Called before the last lock of the specified type is released on the specified document in the Running Document Table (RDT).

Top

See Also

Reference

DesignerDocDataService Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace