共用方式為


IVCProjectEngineEvents.ItemAdded(Object, Object) Method

Definition

Signifies that the specified item was added to the project.

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

Parameters

Item
Object

Required. The item that was added.

ItemParent
Object

Required. The item's parent.

Attributes

Remarks

ItemAdded fires when an item is added to a VCProject, VCFilter, or VCFile.

Applies to