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 _
)
void ItemRenamed(
Object Item,
Object ItemParent,
string OldName
)
void ItemRenamed(
Object^ Item,
Object^ ItemParent,
String^ OldName
)
abstract ItemRenamed :
Item:Object *
ItemParent:Object *
OldName:string -> unit
function ItemRenamed(
Item : Object,
ItemParent : Object,
OldName : String
)
Parameters
- Item
Type: System.Object
Required. The item.
- ItemParent
Type: System.Object
Required. The item's parent.
- OldName
Type: System.String
Required. The previous name.
Remarks
The ItemRenamed method fires when an item is renamed in a VCProject, VCFilter, or VCFile object.
.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.