提供自定义 SharePoint 项目项类型的定义。
命名空间: Microsoft.VisualStudio.SharePoint
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Public Interface ISharePointProjectItemTypeProvider
public interface ISharePointProjectItemTypeProvider
ISharePointProjectItemTypeProvider 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() |
InitializeType | 由项目调用,以初始化 SharePoint 项目项类型的实例。 |
页首
备注
实现 ISharePointProjectItemTypeProvider 接口以定义 SharePoint 项目项的自定义类型。有关更多信息,请参见定义自定义 SharePoint 项目项类型和 如何:定义 SharePoint 项目项类型。
实现此接口的类必须包括要通过项目系统发现的 System.ComponentModel.Composition.ExportAttribute 和 SharePointProjectItemTypeAttribute。