IVCProjectEngineEvents.ItemRenamed Method
Signifies that the specified item in the project was renamed.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
声明
Sub ItemRenamed ( _
Item As Object, _
ItemParent As Object, _
OldName As String _
)
用法
Dim instance As IVCProjectEngineEvents
Dim Item As Object
Dim ItemParent As Object
Dim OldName As String
instance.ItemRenamed(Item, ItemParent, _
OldName)
void ItemRenamed(
Object Item,
Object ItemParent,
string OldName
)
void ItemRenamed(
Object^ Item,
Object^ ItemParent,
String^ OldName
)
function ItemRenamed(
Item : Object,
ItemParent : Object,
OldName : String
)
Parameters
Item
Type: System.ObjectRequired. The item.
ItemParent
Type: System.ObjectRequired. The item's parent.
OldName
Type: System.StringRequired. The previous name.
Remarks
The ItemRenamed method fires when an item is renamed in a VCProject, VCFilter, or VCFile object.
Permissions
- 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
IVCProjectEngineEvents Interface