ISharePointProjectFeature 接口

定义

提供有关功能的信息。Provides information about features.

public interface ISharePointProjectFeature : Microsoft.VisualStudio.SharePoint.ISharePointProjectMember, System.ComponentModel.INotifyPropertyChanged
实现

注解

ISharePointProjectFeature与带有. 功能文件的文件夹关联。ISharePointProjectFeature is associated with a folder with a .feature file.

属性

Annotations

获取实例 IAnnotationDictionary,以将自定义数据与实现 IAnnotatedObject 的对象相关联。Gets an instance IAnnotationDictionary to associate custom data with the object implementing the IAnnotatedObject interface.

(继承自 IAnnotatedObject)
EventReceiverFile

获取与功能相关联的事件接收器代码文件。Gets the event receiver code file associated with the feature.

FeatureFile

获取 .feature 文件的项目成员。Gets a project member for the .feature file.

FullPath

获取项目成员文件或目录的完整源路径。Gets the full source path of the project member file or directory.

(继承自 ISharePointProjectMember)
Icon

获取解决方案资源管理器中显示的项目成员节点的图标。Gets the icon for the project member node displayed in Solution Explorer.

(继承自 ISharePointProjectMember)
Id

获取功能文件的 ID。Gets the ID of the feature file.

IsDisposed

获取是否释放对象。Gets whether the an object is disposed.

(继承自 INotifyObjectDisposed)
IsDisposing

获取是否释放对象。Gets whether an object is disposing.

(继承自 INotifyObjectDisposing)
IsExpanded

获取或设置是否在解决方案资源管理器中展开该节点。Gets or sets whether that node is expanded in Solution Explorer.

(继承自 ISharePointProjectMember)
ManifestTemplateFile

获取与功能相关联的清单模板文件。Gets the manifest template file associated with the feature.

Model

获取功能文件的对象模型。Gets the object model of the feature file.

Name

获取解决方案资源管理器中显示的项目成员节点的名称。Gets the name of the project member node displayed in Solution Explorer.

(继承自 ISharePointProjectMember)
Project

获取对包含项目的引用。Gets a reference to the containing project.

(继承自 ISharePointProjectMember)
ProjectItems

获取从此功能实例引用的 ISharePointProjectItem 实例的集合。Gets a collection of ISharePointProjectItem instances referenced from this instance of feature.

ResourceFiles

获取与功能相关联的资源文件的集合。Gets a collection of resource files associated with the feature.

方法

CollapseChildItems()

确保已在解决方案资源管理器中折叠此 ISharePointProjectMember 的所有子项。Ensures that all child items of this ISharePointProjectMember are collapsed in Solution Explorer.

(继承自 ISharePointProjectMember)
Validate()

对功能运行设计时验证,并更新 IDE 中的错误列表。Runs design-time validation on the feature and updates the error list in the IDE.

事件

Disposed

在释放对象时发生。Occurs when an object is disposed.

(继承自 INotifyObjectDisposed)
Disposing

在释放对象时发生。Occurs when an object is being disposed.

(继承自 INotifyObjectDisposing)
NameChanged

在更改项目成员节点名称时发生。Occurs when the name of the project member node is changed.

(继承自 ISharePointProjectMember)

适用于