Compartir a través de


IExplorerNodeContext.CreatePropertySourceObject Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates an object that has special type descriptor logic to expose the specified dictionary of property values.

Namespace:  Microsoft.VisualStudio.SharePoint.Explorer
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Function CreatePropertySourceObject ( _
    properties As IDictionary(Of String, String) _
) As Object
Object CreatePropertySourceObject(
    IDictionary<string, string> properties
)

Parameters

Return Value

Type: System.Object
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.

.NET Framework Security

See Also

Reference

IExplorerNodeContext Interface

Microsoft.VisualStudio.SharePoint.Explorer Namespace