Udostępnij za pośrednictwem


Metoda DesignerDocDataService.IVsRunningDocTableEvents2.OnAfterAttributeChangeEx —

Wywoływana po atrybut został zmieniony na dokument w tabeli dokument z systemem.

Przestrzeń nazw:  Microsoft.VisualStudio.Shell.Design.Serialization
Zestaw:  Microsoft.VisualStudio.Shell.Design (w Microsoft.VisualStudio.Shell.Design.dll)

Składnia

'Deklaracja
Private 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
int IVsRunningDocTableEvents2.OnAfterAttributeChangeEx(
    uint docCookie,
    uint attribs,
    IVsHierarchy pHierOld,
    uint itemidOld,
    string pszMkDocumentOld,
    IVsHierarchy pHierNew,
    uint itemidNew,
    string pszMkDocumentNew
)

Parametry

  • docCookie
    Typ: System.UInt32
    Identyfikator dokumentu w tabeli dokument z systemem.
  • pszMkDocumentOld
    Typ: System.String
    Nazwa poprzedniego dokumentu.

Wartość zwracana

Typ: System.Int32
Jeśli metoda się powiedzie, zwraca S_OK.Jeśli nie powiedzie się, zwraca kod błędu.

Implementuje

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

Uwagi

Metoda ta zapisuje zmiany wprowadzone do Identyfikatora buforowanego elementu lub hierarchii.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DesignerDocDataService Klasa

Przestrzeń nazw Microsoft.VisualStudio.Shell.Design.Serialization