IExplorerNodeContext.CreatePropertySourceObject Method
Creates an object that has special type descriptor logic to expose the specified dictionary of property values.
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Parameters
- properties
- Type: System.Collections.Generic.IDictionary<String, String>
The properties to create.
You can use this method to display a set of read-only data as properties of a node in the SharePoint Connections hierarchy in Server Explorer. In an event handler for the NodePropertiesRequested event, call this method to create an object that contains a set of read-only properties from a SharePoint site, and assign this object to the PropertySources property of the event arguments. For more information, see Extending the SharePoint Connections Node in Server Explorer and Walkthrough: Extending Server Explorer to Display Web Parts.
- 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.