ISharePointProjectMember 接口

定义

表示 SharePoint 项目的成员。Represents a member of a SharePoint project.

public interface ISharePointProjectMember : Microsoft.VisualStudio.SharePoint.IAnnotatedObject, Microsoft.VisualStudio.SharePoint.INotifyObjectDisposed, Microsoft.VisualStudio.SharePoint.INotifyObjectDisposing, System.ComponentModel.INotifyPropertyChanged
派生
实现

属性

Annotations

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

(继承自 IAnnotatedObject)
FullPath

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

Icon

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

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.

Name

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

Project

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

方法

CollapseChildItems()

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

事件

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.

适用于