ExplorerNodePropertiesRequestedEventArgs.PropertySources 属性
获取与 NodePropertiesRequested 事件相关联的节点的属性集合。
命名空间: Microsoft.VisualStudio.SharePoint.Explorer
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Public Property PropertySources As IPropertySourceCollection
Get
Private Set
public IPropertySourceCollection PropertySources { get; private set; }
属性值
类型:Microsoft.VisualStudio.SharePoint.IPropertySourceCollection
与 NodePropertiesRequested 事件相关联的节点的属性集合。
备注
有关演示如何使用 PropertySources 属性向节点添加属性的代码示例,请参见如何:扩展服务器资源管理器中的 SharePoint 节点。
若要将来自 SharePoint 网站的只读数据集显示为节点的自定义属性,可以使用 CreatePropertySourceObject 方法。 有关更多信息,请参见 演练:扩展服务器资源管理器以显示 Web 部件。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。