共用方式為


ISharePointProjectItemEvents Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines the events relevant to ISharePointProjectItem objects.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Public Interface ISharePointProjectItemEvents
public interface ISharePointProjectItemEvents

The ISharePointProjectItemEvents type exposes the following members.

Events

  Name Description
Public event DeploymentStepCanceled Occurs when a deployment step has been canceled for an ISharePointProjectItem instance.
Public event DeploymentStepCompleted Occurs when a deployment step completes for an ISharePointProjectItem instance.
Public event DeploymentStepFailed Occurs when a deployment step has failed for an ISharePointProjectItem instance.
Public event DeploymentStepStarted Occurs when a deployment step starts for an ISharePointProjectItem instance.
Public event ProjectItemAdded Occurs when a new ISharePointProjectItem instance is added.
Public event ProjectItemDisposing Occurs when an ISharePointProjectItem instance is about to be disposed.
Public event ProjectItemInitialized Occurs when an ISharePointProjectItem instance is initialized.
Public event ProjectItemMenuItemsRequested Occurs when an ISharePointProjectItem instance is requested for context menu items.
Public event ProjectItemNameChanged Occurs when an ISharePointProjectItem instance is renamed.
Public event ProjectItemOpen Occurs when a SharePoint project item folder opens.
Public event ProjectItemPropertiesRequested Occurs when an ISharePointProjectItem instance is requested for properties.
Public event ProjectItemPropertyChanged Occurs when a property value in an ISharePointProjectItem instance is changed.
Public event ProjectItemRemoved Occurs when an ISharePointProjectItem instance is removed.

Top

Remarks

The implementing object defines the context on which these events occur. The sender in all events should be the ISharePointProjectItem instance related to the event.

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace