データの階層の新しいノードの指定した数を作成します。
名前空間: 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 セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。