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 屬性將屬性加入至節點的程式碼範例,請參閱 HOW TO:在伺服器總管中擴充 SharePoint 節點。
若要從 SharePoint 網站將一組唯讀資料顯示為節點的自訂屬性,您可以使用 CreatePropertySourceObject 方法。 如需詳細資訊,請參閱逐步解說:擴充伺服器總管以顯示 Web 組件。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。