共用方式為


IVCProjectEngineEvents.ItemMoved(Object, Object, Object) Method

Definition

Signifies that the specified item was moved within the project.

public:
 void ItemMoved(System::Object ^ Item, System::Object ^ NewParent, System::Object ^ OldParent);
public:
 void ItemMoved(Platform::Object ^ Item, Platform::Object ^ NewParent, Platform::Object ^ OldParent);
void ItemMoved(winrt::Windows::Foundation::IInspectable const & Item, winrt::Windows::Foundation::IInspectable const & NewParent, winrt::Windows::Foundation::IInspectable const & OldParent);
[System.Runtime.InteropServices.DispId(278)]
public void ItemMoved (object Item, object NewParent, object OldParent);
[<System.Runtime.InteropServices.DispId(278)>]
abstract member ItemMoved : obj * obj * obj -> unit
Public Sub ItemMoved (Item As Object, NewParent As Object, OldParent As Object)

Parameters

Item
Object

Required. The item.

NewParent
Object

Required. The new parent.

OldParent
Object

Required. The previous parent.

Attributes

Remarks

The ItemMoved method fires when an item is moved in a VCProject, VCFilter, or VCFile object.

Applies to