共用方式為


ISharePointProjectExtension Interface

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

Represents an extension for SharePoint projects.

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

Syntax

'Declaration
Public Interface ISharePointProjectExtension
public interface ISharePointProjectExtension

The ISharePointProjectExtension type exposes the following members.

Methods

  Name Description
Public method Initialize Initializes the SharePoint project extension.

Top

Remarks

Implement the ISharePointProjectExtension interface to define an extension that is loaded when any SharePoint project is opened in Visual Studio. For more information, see Extending SharePoint Projects and How to: Create a SharePoint Project Extension.

Classes that implement this interface must include the System.ComponentModel.Composition.ExportAttribute to be discovered by the project system.

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace