Partager via


ExplorerNodePropertiesRequestedEventArgs.PropertySources Property

Definition

Gets the collection of properties for the node that is associated with the NodePropertiesRequested event.

public:
 property Microsoft::VisualStudio::SharePoint::IPropertySourceCollection ^ PropertySources { Microsoft::VisualStudio::SharePoint::IPropertySourceCollection ^ get(); };
public Microsoft.VisualStudio.SharePoint.IPropertySourceCollection PropertySources { get; }
member this.PropertySources : Microsoft.VisualStudio.SharePoint.IPropertySourceCollection
Public ReadOnly Property PropertySources As IPropertySourceCollection

Property Value

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.

Applies to