次の方法で共有


CubeCollection.Insert メソッド (Int32, Cube)

Cube をコレクション内の指定したインデックスに挿入します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Sub Insert ( _
    index As Integer, _
    item As Cube _
)
'使用
Dim instance As CubeCollection 
Dim index As Integer 
Dim item As Cube

instance.Insert(index, item)
public void Insert(
    int index,
    Cube item
)
public:
void Insert(
    int index, 
    Cube^ item
)
member Insert : 
        index:int * 
        item:Cube -> unit
public function Insert(
    index : int, 
    item : Cube
)

パラメーター

  • index
    型: System.Int32
    新しい Cube の挿入先である、0 から始まるインデックスです。

例外

例外 条件
ArgumentOutOfRangeException

index に 0 より小さい値が指定されています。

-または-

index に [H:Microsoft.AnalysisServices.ModelComponentCollection.Count] 以上の値が指定されています。

関連項目

参照

CubeCollection クラス

Insert オーバーロード

Microsoft.AnalysisServices 名前空間