ExplorerNodePropertiesRequestedEventArgs.PropertySources Property
Gets the collection of properties for the node that is associated with the NodePropertiesRequested event.
Namespace: Microsoft.VisualStudio.SharePoint.Explorer
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Property PropertySources As IPropertySourceCollection
public IPropertySourceCollection PropertySources { get; private set; }
Property Value
Type: Microsoft.VisualStudio.SharePoint.IPropertySourceCollection
The collection of properties for the node that is associated with the NodePropertiesRequested event.
Remarks
For a code example that demonstrates how to use the PropertySources property to add a property to a node, see How to: Extend a SharePoint Node in Server Explorer.
To display a set of read-only data from a SharePoint site as custom properties of a node, you can use the CreatePropertySourceObject method. For more information, see Walkthrough: Extending Server Explorer to Display Web Parts.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.