DesignerDocDataService.IVsRunningDocTableEvents2.OnAfterAttributeChangeEx Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called after an attribute has changed on a document in the Running Document Table.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnAfterAttributeChangeEx(System::UInt32 docCookie, System::UInt32 attribs, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierOld, System::UInt32 itemidOld, System::String ^ pszMkDocumentOld, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierNew, System::UInt32 itemidNew, System::String ^ pszMkDocumentNew) = Microsoft::VisualStudio::Shell::Interop::IVsRunningDocTableEvents2::OnAfterAttributeChangeEx;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnAfterAttributeChangeEx(unsigned int docCookie, unsigned int attribs, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierOld, unsigned int itemidOld, Platform::String ^ pszMkDocumentOld, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierNew, unsigned int itemidNew, Platform::String ^ pszMkDocumentNew) = Microsoft::VisualStudio::Shell::Interop::IVsRunningDocTableEvents2::OnAfterAttributeChangeEx;
int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnAfterAttributeChangeEx(unsigned int docCookie, unsigned int attribs, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierOld, unsigned int itemidOld, std::wstring const & pszMkDocumentOld, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierNew, unsigned int itemidNew, std::wstring const & pszMkDocumentNew);
int IVsRunningDocTableEvents2.OnAfterAttributeChangeEx (uint docCookie, uint attribs, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierOld, uint itemidOld, string pszMkDocumentOld, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierNew, uint itemidNew, string pszMkDocumentNew);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnAfterAttributeChangeEx : uint32 * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * string -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnAfterAttributeChangeEx : uint32 * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * string -> int
Function OnAfterAttributeChangeEx (docCookie As UInteger, attribs As UInteger, pHierOld As IVsHierarchy, itemidOld As UInteger, pszMkDocumentOld As String, pHierNew As IVsHierarchy, itemidNew As UInteger, pszMkDocumentNew As String) As Integer Implements IVsRunningDocTableEvents2.OnAfterAttributeChangeEx
Parameters
- docCookie
- UInt32
The identifier of the document in the Running Document Table.
- attribs
- UInt32
__VSRDTATTRIB values corresponding to the attributes that have changed.
- pHierOld
- IVsHierarchy
The IVsHierarchy interface of the node that previously owned the document.
- itemidOld
- UInt32
The previous item ID.
- pszMkDocumentOld
- String
The previous name of the document.
- pHierNew
- IVsHierarchy
The IVsHierarchy interface of the node that now owns the document.
- itemidNew
- UInt32
The new item ID.
- pszMkDocumentNew
- String
The new name of the document.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.