다음을 통해 공유


IVsDataViewHierarchy.DelayInsertItem Method

Definition

Overloads

DelayInsertItem(String, IVsDataViewSelectionInfo, Int32, Object[])

Adds the specified node to the queue of nodes to be inserted at a later time, if the parent node has not been expanded yet or is not created. Otherwise, inserts the specified node immediately.

DelayInsertItem(String, String, Int32, Object[])

Adds the specified node to the queue of nodes to be inserted at a later time, if the parent node has not been expanded yet or is not created. Otherwise, inserts the specified node immediately.

DelayInsertItem(String, IVsDataViewSelectionInfo, Int32, Object[])

Adds the specified node to the queue of nodes to be inserted at a later time, if the parent node has not been expanded yet or is not created. Otherwise, inserts the specified node immediately.

public:
 bool DelayInsertItem(System::String ^ parentFullName, Microsoft::VisualStudio::Data::Services::IVsDataViewSelectionInfo ^ childSelectionInfo, int newItemId, cli::array <System::Object ^> ^ identifier);
public bool DelayInsertItem (string parentFullName, Microsoft.VisualStudio.Data.Services.IVsDataViewSelectionInfo childSelectionInfo, int newItemId, object[] identifier);
abstract member DelayInsertItem : string * Microsoft.VisualStudio.Data.Services.IVsDataViewSelectionInfo * int * obj[] -> bool
Public Function DelayInsertItem (parentFullName As String, childSelectionInfo As IVsDataViewSelectionInfo, newItemId As Integer, identifier As Object()) As Boolean

Parameters

parentFullName
String

The full name of the new node's parent.

childSelectionInfo
IVsDataViewSelectionInfo

The selection of child nodes to insert beneath the new node.

newItemId
Int32

A numerical identifier for the new node to insert.

identifier
Object[]

An array containing identifier parts that represent the new node.

Returns

true if the new node is inserted immediately; false if the new node is placed in queue for delayed insert or is not inserted immediately.

Exceptions

The parentFullName or childSelectionInfo parameter is null.

Applies to

DelayInsertItem(String, String, Int32, Object[])

Adds the specified node to the queue of nodes to be inserted at a later time, if the parent node has not been expanded yet or is not created. Otherwise, inserts the specified node immediately.

public:
 bool DelayInsertItem(System::String ^ parentFullName, System::String ^ typeName, int newItemId, cli::array <System::Object ^> ^ identifier);
public bool DelayInsertItem (string parentFullName, string typeName, int newItemId, object[] identifier);
abstract member DelayInsertItem : string * string * int * obj[] -> bool
Public Function DelayInsertItem (parentFullName As String, typeName As String, newItemId As Integer, identifier As Object()) As Boolean

Parameters

parentFullName
String

The full name of the new node's parent.

typeName
String

The name of the new node's type.

newItemId
Int32

A numerical identifier for the new node to insert.

identifier
Object[]

An array containing identifier parts that represent the new node.

Returns

true if the new node is inserted immediately; false if the new node is placed in queue for delayed insert or is not inserted immediately.

Exceptions

The parentFullName or typeName parameter is null.

Applies to