次の方法で共有


INodeExtender.ProvideChildren(WorkspaceVisualNodeBase) Method

Definition

If applicable provides children to a node. Children collection can be actually empty at this point.

public:
 Microsoft::VisualStudio::Workspace::VSIntegration::UI::IChildrenSource ^ ProvideChildren(Microsoft::VisualStudio::Workspace::VSIntegration::UI::WorkspaceVisualNodeBase ^ parentNode);
public Microsoft.VisualStudio.Workspace.VSIntegration.UI.IChildrenSource ProvideChildren (Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase parentNode);
public Microsoft.VisualStudio.Workspace.VSIntegration.UI.IChildrenSource? ProvideChildren (Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase parentNode);
abstract member ProvideChildren : Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase -> Microsoft.VisualStudio.Workspace.VSIntegration.UI.IChildrenSource
Public Function ProvideChildren (parentNode As WorkspaceVisualNodeBase) As IChildrenSource

Parameters

parentNode
WorkspaceVisualNodeBase

node to be extended

Returns

collection if applicable, null otherwise

Remarks

Implementations of this method should be free-threaded, i.e. callers of this method should be able to call it from any thread.

Applies to