RdtListener.OnAfterAttributeChangeEx Method
Called after an attribute change.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Overridable Function OnAfterAttributeChangeEx ( _
docCookie As UInteger, _
grfAttribs As UInteger, _
pHierOld As IVsHierarchy, _
itemidOld As UInteger, _
pszMkDocumentOld As String, _
pHierNew As IVsHierarchy, _
itemidNew As UInteger, _
pszMkDocumentNew As String _
) As Integer
'Usage
Dim instance As RdtListener
Dim docCookie As UInteger
Dim grfAttribs As UInteger
Dim pHierOld As IVsHierarchy
Dim itemidOld As UInteger
Dim pszMkDocumentOld As String
Dim pHierNew As IVsHierarchy
Dim itemidNew As UInteger
Dim pszMkDocumentNew As String
Dim returnValue As Integer
returnValue = instance.OnAfterAttributeChangeEx(docCookie, _
grfAttribs, pHierOld, itemidOld, _
pszMkDocumentOld, pHierNew, itemidNew, _
pszMkDocumentNew)
public virtual int OnAfterAttributeChangeEx(
uint docCookie,
uint grfAttribs,
IVsHierarchy pHierOld,
uint itemidOld,
string pszMkDocumentOld,
IVsHierarchy pHierNew,
uint itemidNew,
string pszMkDocumentNew
)
public:
virtual int OnAfterAttributeChangeEx(
unsigned int docCookie,
unsigned int grfAttribs,
IVsHierarchy^ pHierOld,
unsigned int itemidOld,
String^ pszMkDocumentOld,
IVsHierarchy^ pHierNew,
unsigned int itemidNew,
String^ pszMkDocumentNew
)
public function OnAfterAttributeChangeEx(
docCookie : uint,
grfAttribs : uint,
pHierOld : IVsHierarchy,
itemidOld : uint,
pszMkDocumentOld : String,
pHierNew : IVsHierarchy,
itemidNew : uint,
pszMkDocumentNew : String
) : int
abstract OnAfterAttributeChangeEx :
docCookie:uint32 *
grfAttribs:uint32 *
pHierOld:IVsHierarchy *
itemidOld:uint32 *
pszMkDocumentOld:string *
pHierNew:IVsHierarchy *
itemidNew:uint32 *
pszMkDocumentNew:string -> int
override OnAfterAttributeChangeEx :
docCookie:uint32 *
grfAttribs:uint32 *
pHierOld:IVsHierarchy *
itemidOld:uint32 *
pszMkDocumentOld:string *
pHierNew:IVsHierarchy *
itemidNew:uint32 *
pszMkDocumentNew:string -> int
Parameters
- docCookie
Type: System.UInt32
The document cookie
- grfAttribs
Type: System.UInt32
Flags for the changed attributes
- pHierOld
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The old hierarchy that owned the document
- itemidOld
Type: System.UInt32
The old item ID
- pszMkDocumentOld
Type: System.String
The old document name
- pHierNew
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The new hierarchy
- itemidNew
Type: System.UInt32
The new item ID
- pszMkDocumentNew
Type: System.String
The new document name
Return Value
Type: System.Int32
Returns VSConstants.S_OK.
Implements
IVsRunningDocTableEvents3.OnAfterAttributeChangeEx(UInt32, UInt32, IVsHierarchy, UInt32, String, IVsHierarchy, UInt32, String)
IVsRunningDocTableEvents2.OnAfterAttributeChangeEx(UInt32, UInt32, IVsHierarchy, UInt32, String, IVsHierarchy, UInt32, String)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace