Share via


IVsDataViewHierarchy.CreateNewItems 메서드

데이터 뷰 계층 구조에서 지정 된 수의 새 노드를 만듭니다.

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

구문

‘선언
Function CreateNewItems ( _
    count As Integer _
) As Integer()
int[] CreateNewItems(
    int count
)
array<int>^ CreateNewItems(
    int count
)
abstract CreateNewItems : 
        count:int -> int[] 
function CreateNewItems(
    count : int
) : int[]

매개 변수

  • count
    형식: System.Int32
    만들려면 노드의 수입니다.

반환 값

형식: array<System.Int32[]
새로 만든 노드 항목 Id를 포함 하는 배열입니다.

예외

예외 조건
ArgumentOutOfRangeException

count 매개 변수가 0 미만인 경우

.NET Framework 보안

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

참고 항목

참조

IVsDataViewHierarchy 인터페이스

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