DesignerDocDataService::IVsRunningDocTableEvents2::OnAfterAttributeChangeEx Method (UInt32, UInt32, IVsHierarchy^, UInt32, String^, IVsHierarchy^, UInt32, String^)
Visual Studio 2015
Called after an attribute has changed on a document in the Running Document Table.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
private: virtual int OnAfterAttributeChangeEx( unsigned int docCookie, unsigned int attribs, IVsHierarchy^ pHierOld, unsigned int itemidOld, String^ pszMkDocumentOld, IVsHierarchy^ pHierNew, unsigned int itemidNew, String^ pszMkDocumentNew ) sealed = IVsRunningDocTableEvents2::OnAfterAttributeChangeEx
Parameters
- docCookie
-
Type:
System::UInt32
The identifier of the document in the Running Document Table.
- attribs
-
Type:
System::UInt32
__VSRDTATTRIB values corresponding to the attributes that have changed.
- pHierOld
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
The IVsHierarchy interface of the node that previously owned the document.
- itemidOld
-
Type:
System::UInt32
The previous item ID.
- pszMkDocumentOld
-
Type:
System::String^
The previous name of the document.
- pHierNew
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
The IVsHierarchy interface of the node that now owns the document.
- itemidNew
-
Type:
System::UInt32
The new item ID.
- pszMkDocumentNew
-
Type:
System::String^
The new name of the document.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
This method saves any changes that were made to the cached item ID or hierarchy.
Show: