Partager via


ISharePointProjectItemTypeExtension 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 a particular type of SharePoint project item.

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

Syntax

'Declaration
Public Interface ISharePointProjectItemTypeExtension
public interface ISharePointProjectItemTypeExtension

The ISharePointProjectItemTypeExtension type exposes the following members.

Methods

  Name Description
Public method Initialize Initializes the project item type extension.

Top

Remarks

Implement the ISharePointProjectItemTypeExtension interface to define an extension that is loaded when an instance of a particular SharePoint project item type is added to a project or opened in Visual Studio. For more information, see Extending SharePoint Project Items and How to: Create a SharePoint Project Item Extension.

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

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace