ISharePointProjectItemTypeDefinition 接口

定义

帮助定义 SharePoint 项目项的类型。

public interface class ISharePointProjectItemTypeDefinition : Microsoft::VisualStudio::SharePoint::IAnnotatedObject, Microsoft::VisualStudio::SharePoint::ISharePointProjectItemEvents, Microsoft::VisualStudio::SharePoint::ISharePointProjectItemFileEvents
public interface ISharePointProjectItemTypeDefinition : Microsoft.VisualStudio.SharePoint.IAnnotatedObject, Microsoft.VisualStudio.SharePoint.ISharePointProjectItemEvents, Microsoft.VisualStudio.SharePoint.ISharePointProjectItemFileEvents
type ISharePointProjectItemTypeDefinition = interface
    interface IAnnotatedObject
    interface ISharePointProjectItemEvents
    interface ISharePointProjectItemFileEvents
Public Interface ISharePointProjectItemTypeDefinition
Implements IAnnotatedObject, ISharePointProjectItemEvents, ISharePointProjectItemFileEvents
实现

注解

只能在 方法内 InitializeType 设置属性。

ISharePointProjectItemTypeDefinition 允许将自定义数据与类型关联,因为它继承自 IAnnotatedObject 接口。

属性

Annotations

获取实例 IAnnotationDictionary,以将自定义数据与实现 IAnnotatedObject 的对象相关联。

(继承自 IAnnotatedObject)
Name

获取或设置设计器中显示的项目项类型的名称。 默认情况下,它是 ID。

ProjectItemType

获取由此 ISharePointProjectItemTypeDefinition 实例定义的 ISharePointProjectItemType

ProjectService

获取 SharePoint 项目服务的实例。

SupportedAssemblyDeploymentTargets

获取或设置此项目项支持的程序集的部署位置。

SupportedDeploymentScopes

获取或设置 SharePoint 中支持 ISharePointProjectItem 部署的范围。

SupportedTrustLevels

获取或设置 ISharePointProjectItem 支持的 SharePoint 中的信任级别。

事件

DeploymentStepCanceled

当为了一个 ISharePointProjectItem 实例取消了部署步骤时发生。

(继承自 ISharePointProjectItemEvents)
DeploymentStepCompleted

在对 ISharePointProjectItem 实例完成部署步骤时发生。

(继承自 ISharePointProjectItemEvents)
DeploymentStepFailed

当部署步骤在 ISharePointProjectItem 实例上失败时发生。

(继承自 ISharePointProjectItemEvents)
DeploymentStepStarted

在对 ISharePointProjectItem 实例启动部署步骤时发生。

(继承自 ISharePointProjectItemEvents)
FileAdded

在添加新 ISharePointProjectItemFile 实例时发生。

(继承自 ISharePointProjectItemFileEvents)
FileDeploymentPathChanged

在修改 DeploymentPath 属性时发生。

(继承自 ISharePointProjectItemFileEvents)
FileDeploymentTypeChanged

在修改 DeploymentType 属性时发生。

(继承自 ISharePointProjectItemFileEvents)
FileNameChanged

在重命名 ISharePointProjectItemFile 实例时发生。

(继承自 ISharePointProjectItemFileEvents)
FileOpening

帮助定义 SharePoint 项目项的类型。

(继承自 ISharePointProjectItemFileEvents)
FilePropertyChanged

在更改 ISharePointProjectItemFile 实例中的属性值时发生。

(继承自 ISharePointProjectItemFileEvents)
FileRemoved

在移除 ISharePointProjectItemFile 实例时发生。

(继承自 ISharePointProjectItemFileEvents)
ProjectItemAdded

在添加新 ISharePointProjectItem 实例时发生。

(继承自 ISharePointProjectItemEvents)
ProjectItemDisposing

在即将释放 ISharePointProjectItem 实例时发生。

(继承自 ISharePointProjectItemEvents)
ProjectItemInitialized

在初始化 ISharePointProjectItem 实例时发生。

(继承自 ISharePointProjectItemEvents)
ProjectItemMenuItemsRequested

在请求 ISharePointProjectItem 实例的上下文菜单项时发生。

(继承自 ISharePointProjectItemEvents)
ProjectItemNameChanged

在重命名 ISharePointProjectItem 实例时发生。

(继承自 ISharePointProjectItemEvents)
ProjectItemOpen

在打开 SharePoint 项目项文件夹时发生。

(继承自 ISharePointProjectItemEvents)
ProjectItemPropertiesRequested

在请求 ISharePointProjectItem 实例的属性时发生。

(继承自 ISharePointProjectItemEvents)
ProjectItemPropertyChanged

ISharePointProjectItem 实例中的属性值更改时发生。

(继承自 ISharePointProjectItemEvents)
ProjectItemRemoved

在移除 ISharePointProjectItem 实例时发生。

(继承自 ISharePointProjectItemEvents)
ProjectItemStartupUrlRequested

ISharePointProjectItem 请求启动 URL 时会发生。

适用于