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 參數小於零。 |
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。