Share via


IVsDataViewHierarchy.DelayInsertItem 메서드 (String, String, Int32, array<Object )

지정 된 노드의 부모 노드가 아직 확장 되어 만들어지지 않습니다 경우 나중에 삽입 될 노드의 큐에 추가 합니다.그렇지 않으면 즉시 지정 된 노드를 삽입합니다.

네임스페이스:  Microsoft.VisualStudio.Data.Services.SupportEntities
어셈블리:  Microsoft.VisualStudio.Data.Services(Microsoft.VisualStudio.Data.Services.dll)

구문

‘선언
Function DelayInsertItem ( _
    parentFullName As String, _
    typeName As String, _
    newItemId As Integer, _
    identifier As Object() _
) As Boolean
bool DelayInsertItem(
    string parentFullName,
    string typeName,
    int newItemId,
    Object[] identifier
)
bool DelayInsertItem(
    String^ parentFullName, 
    String^ typeName, 
    int newItemId, 
    array<Object^>^ identifier
)
abstract DelayInsertItem : 
        parentFullName:string * 
        typeName:string * 
        newItemId:int * 
        identifier:Object[] -> bool 
function DelayInsertItem(
    parentFullName : String, 
    typeName : String, 
    newItemId : int, 
    identifier : Object[]
) : boolean

매개 변수

  • parentFullName
    형식: System.String
    새 노드의 상위의 전체 이름입니다.
  • typeName
    형식: System.String
    새 노드 형식의 이름입니다.
  • newItemId
    형식: System.Int32
    새 노드를 삽입 하는 숫자 식별자입니다.
  • identifier
    형식: array<System.Object[]
    새 노드를 나타내는 식별자 부분을 포함 하는 배열입니다.

반환 값

형식: System.Boolean
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.

예외

예외 조건
ArgumentNullException

parentFullName 또는 typeName 매개 변수가 nullNull 참조(Visual Basic의 경우 Nothing)인 경우

설명

부모 노드를 확장 하면 새 노드가 삽입 됩니다 때문에이 메서드가 성능이 향상 됩니다, 그리고 열거형의 수를 줄이는 트리를 수행 합니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

IVsDataViewHierarchy 인터페이스

DelayInsertItem 오버로드

Microsoft.VisualStudio.Data.Services.SupportEntities 네임스페이스