DesignerDocDataService Class

 

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

Namespace:   Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

System.Object
  Microsoft.VisualStudio.Shell.Design.Serialization.DesignerDocDataService

[CLSCompliantAttribute(false)]
public class DesignerDocDataService : IDisposable, IVsRunningDocTableEvents, 
	IVsRunningDocTableEvents2, IVsHasRelatedSaveItems

NameDescription
System_CAPS_pubmethodDesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, DocData)

Initializes a new instance of DesignerDocDataService.

System_CAPS_pubmethodDesignerDocDataService(IServiceProvider, IVsHierarchy, UInt32, Object)

Initializes a new instance of DesignerDocDataService for the specified node and document data.

NameDescription
System_CAPS_pubpropertyPrimaryDocData

Gets the document data object for the primaryDocData that was passed into either of this service's overloaded constructors DesignerDocDataService or DesignerDocDataService.

System_CAPS_protpropertyPrimaryName

Gets the fully-qualified file name of the primary doc data object.

System_CAPS_pubpropertyUseWeakEditLock

Determines whether the DesignerDocDataService instance holds a weak or strong edit lock on the child documents. The default value is false (strong edit lock). Normal designers in document windows should use strong edit lock. Advanced invisible designers should use weak locks, so that when the child document is opened in a visible editor, the control of the edit lock is yielded to the visible editor. The user is then prompted to save the document when the visible editor is closed.

NameDescription
System_CAPS_pubmethodCheckoutFiles()

Ensures that all relevant buffers are checked out.

System_CAPS_pubmethodDispose()

Disposes the service.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFlush()

Performs a forced flush of all pending changes to the designer.

System_CAPS_pubmethodGetChildDocData(String, FileAccess, String)

Gets a DocData with the given name.

System_CAPS_protmethodGetChildFileName(String)

Returns the absolute path of a child file from its name.

System_CAPS_pubmethodGetFileDocData(String, FileAccess, String)

Gets a DocData with the given name.

System_CAPS_pubmethodGetFileDocData(String, FileAccess, String, Boolean)

Gets a DocData with the given name.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetSiblingDocData(String, FileAccess, String)

Gets a DocData with the given name.

System_CAPS_protmethodGetSiblingFileName(String)

Gets the absolute path of the sibling file name from the file name.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHasChild(String)

Determines whether or not there is a child DocData with a given name.

System_CAPS_pubmethodHasFile(String)

Determines whether or not there is a DocData with a given fileName.

System_CAPS_pubmethodHasSibling(String)

Determines whether or not there is a sibling DocData with the specified name.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSaveDocData(DocData)

Performs a save on the given doc data.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsHasRelatedSaveItems.GetRelatedSaveTreeItems(VSSAVETREEITEM, UInt32, VSSAVETREEITEM[], UInt32)

Coordinates save operations across the documents maintained by this service.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents.OnAfterAttributeChange(UInt32, UInt32)

Called after an attribute has changed on a document in the Running Document Table.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents.OnAfterDocumentWindowHide(UInt32, IVsWindowFrame)

Called after a document window is hidden.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents.OnAfterFirstDocumentLock(UInt32, UInt32, UInt32, UInt32)

Called after the first lock of the specified type is applied to the specified document in the Running Document Table (RDT).

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents.OnAfterSave(UInt32)

Called after a document in the Running Document Table (RDT) is saved.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame)

Called before a document window is displayed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents.OnBeforeLastDocumentUnlock(UInt32, UInt32, UInt32, UInt32)

Called before the last lock of the specified type is released on the specified document in the Running Document Table (RDT).

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents2.OnAfterAttributeChange(UInt32, UInt32)

Called after an attribute has changed on a document in the Running Document Table.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents2.OnAfterAttributeChangeEx(UInt32, UInt32, IVsHierarchy, UInt32, String, IVsHierarchy, UInt32, String)

Called after an attribute has changed on a document in the Running Document Table.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents2.OnAfterDocumentWindowHide(UInt32, IVsWindowFrame)

Called after a document window is hidden.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents2.OnAfterFirstDocumentLock(UInt32, UInt32, UInt32, UInt32)

Called after the first lock of the specified type is applied to the specified document in the Running Document Table (RDT).

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents2.OnAfterSave(UInt32)

Called after a document in the Running Document Table (RDT) is saved.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents2.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame)

Called before a document window is displayed.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock(UInt32, UInt32, UInt32, UInt32)

Called before the last lock of the specified type is released on the specified document in the Running Document Table (RDT).

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: