ActionableRdtListener.OnAfterAttributeChangeEx Method
Called when an attribute is changed.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Overrides Function OnAfterAttributeChangeEx ( _
docCookie As UInteger, _
attributeProperties As UInteger, _
oldHierarchy As IVsHierarchy, _
itemIdOld As UInteger, _
mkDocumentOld As String, _
newHierarchy As IVsHierarchy, _
itemIdNew As UInteger, _
mkDocumentNew As String _
) As Integer
'Usage
Dim instance As ActionableRdtListener
Dim docCookie As UInteger
Dim attributeProperties As UInteger
Dim oldHierarchy As IVsHierarchy
Dim itemIdOld As UInteger
Dim mkDocumentOld As String
Dim newHierarchy As IVsHierarchy
Dim itemIdNew As UInteger
Dim mkDocumentNew As String
Dim returnValue As Integer
returnValue = instance.OnAfterAttributeChangeEx(docCookie, _
attributeProperties, oldHierarchy, _
itemIdOld, mkDocumentOld, newHierarchy, _
itemIdNew, mkDocumentNew)
public override int OnAfterAttributeChangeEx(
uint docCookie,
uint attributeProperties,
IVsHierarchy oldHierarchy,
uint itemIdOld,
string mkDocumentOld,
IVsHierarchy newHierarchy,
uint itemIdNew,
string mkDocumentNew
)
public:
virtual int OnAfterAttributeChangeEx(
unsigned int docCookie,
unsigned int attributeProperties,
IVsHierarchy^ oldHierarchy,
unsigned int itemIdOld,
String^ mkDocumentOld,
IVsHierarchy^ newHierarchy,
unsigned int itemIdNew,
String^ mkDocumentNew
) override
public override function OnAfterAttributeChangeEx(
docCookie : uint,
attributeProperties : uint,
oldHierarchy : IVsHierarchy,
itemIdOld : uint,
mkDocumentOld : String,
newHierarchy : IVsHierarchy,
itemIdNew : uint,
mkDocumentNew : String
) : int
abstract OnAfterAttributeChangeEx :
docCookie:uint32 *
attributeProperties:uint32 *
oldHierarchy:IVsHierarchy *
itemIdOld:uint32 *
mkDocumentOld:string *
newHierarchy:IVsHierarchy *
itemIdNew:uint32 *
mkDocumentNew:string -> int
override OnAfterAttributeChangeEx :
docCookie:uint32 *
attributeProperties:uint32 *
oldHierarchy:IVsHierarchy *
itemIdOld:uint32 *
mkDocumentOld:string *
newHierarchy:IVsHierarchy *
itemIdNew:uint32 *
mkDocumentNew:string -> int
Parameters
- docCookie
Type: System.UInt32
The document cookie for this project
- attributeProperties
Type: System.UInt32
Flags for the changed attributes
- oldHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The old hierarchy that owned the document
- itemIdOld
Type: System.UInt32
The old item ID
- mkDocumentOld
Type: System.String
The old document name
- newHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The new hierarchy
- itemIdNew
Type: System.UInt32
The new item ID
- mkDocumentNew
Type: System.String
The new document name
Return Value
Type: System.Int32
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.Utilities Namespace