Sdílet prostřednictvím


DkmScriptDocumentTreeNode.Create Method

Definition

Create a new DkmScriptDocumentTreeNode object instance.

This method will send a ScriptDocumentTreeNodeCreate event.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 static Microsoft::VisualStudio::Debugger::Script::DkmScriptDocumentTreeNode ^ Create(Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Microsoft::VisualStudio::Debugger::Script::DkmScriptDocumentTreeNode ^ Parent, System::String ^ Title, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.Script.DkmScriptDocumentTreeNode Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.Script.DkmScriptDocumentTreeNode Parent, string Title, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
public static Microsoft.VisualStudio.Debugger.Script.DkmScriptDocumentTreeNode Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.Script.DkmScriptDocumentTreeNode? Parent, string Title, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.Script.DkmScriptDocumentTreeNode * string * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.Script.DkmScriptDocumentTreeNode
Public Shared Function Create (RuntimeInstance As DkmRuntimeInstance, Parent As DkmScriptDocumentTreeNode, Title As String, DataItem As DkmDataItem) As DkmScriptDocumentTreeNode

Parameters

RuntimeInstance
DkmRuntimeInstance

[In] The runtime which produced this container.

Parent
DkmScriptDocumentTreeNode

[In,Optional] Parent in the script document tree. This will be null for the root application container.

Title
String

[In] Title of the node.

DataItem
DkmDataItem

[In,Optional] Data object to add to the new DkmScriptDocumentTreeNode instance. Pass 'null' in the case that the caller doesn't need to add a data item.

Returns

[Out] Result of this method call.

Applies to