PerspectiveMeasureGroupCollection.Insert メソッド

定義

オーバーロード

Insert(Int32, PerspectiveMeasureGroup)

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

Insert(Int32, String)

指定した MeasureGroupID を使用して新しい PerspectiveMeasureGroup オブジェクトを作成し、それをコレクション内の指定したインデックスに挿入し、作成された新しい PerspectiveMeasureGroup を返します。

Insert(Int32, PerspectiveMeasureGroup)

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

public void Insert (int index, Microsoft.AnalysisServices.PerspectiveMeasureGroup item);
override this.Insert : int * Microsoft.AnalysisServices.PerspectiveMeasureGroup -> unit
Public Sub Insert (index As Integer, item As PerspectiveMeasureGroup)

パラメーター

index
Int32

PerspectiveMeasureGroup の挿入先である、0 から始まるインデックスです。

item
PerspectiveMeasureGroup

挿入する PerspectiveMeasureGroup です。

例外

指定したインデックスが有効な値ではありません (0 未満または要素の合計数より大きい)。

  • 指定したアイテムは null 参照 (Visual Basic では Nothing) です。
  • 指定したアイテムはコレクション内に既に存在しています。
  • 指定した PerspectiveMeasureGroup の MeasureGroupID がコレクション内で無効です。
  • 指定した PerspectiveMeasureGroup の互換性レベルは、コレクション内では無効です。

適用対象

Insert(Int32, String)

指定した MeasureGroupID を使用して新しい PerspectiveMeasureGroup オブジェクトを作成し、それをコレクション内の指定したインデックスに挿入し、作成された新しい PerspectiveMeasureGroup を返します。

public Microsoft.AnalysisServices.PerspectiveMeasureGroup Insert (int index, string measureGroupId);
override this.Insert : int * string -> Microsoft.AnalysisServices.PerspectiveMeasureGroup
Public Function Insert (index As Integer, measureGroupId As String) As PerspectiveMeasureGroup

パラメーター

index
Int32

PerspectiveMeasureGroup の挿入先である、0 から始まるインデックスです。

measureGroupId
String

新しい PerspectiveMeasureGroup オブジェクトの MeasureGroupID です。

戻り値

新しく作成された PerspectiveMeasureGroup オブジェクトです。

例外

指定したインデックスが有効な値ではありません (0 未満または要素の合計数より大きい)。

指定した MeasureGroupID がコレクション内で有効ではありません。

適用対象