IExplorerNodeContext.CreatePropertySourceObject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an object that has special type descriptor logic to expose the specified dictionary of property values.
public:
System::Object ^ CreatePropertySourceObject(System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ properties);
public object CreatePropertySourceObject (System.Collections.Generic.IDictionary<string,string> properties);
abstract member CreatePropertySourceObject : System.Collections.Generic.IDictionary<string, string> -> obj
Public Function CreatePropertySourceObject (properties As IDictionary(Of String, String)) As Object
Parameters
- properties
- IDictionary<String,String>
The properties to create.
Returns
An object with the specified properties attached.
Remarks
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.