次の方法で共有


PerspectiveCalculationCollection.Insert メソッド

定義

オーバーロード

Insert(Int32, String)

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

Insert(Int32, String, PerspectiveCalculationType)

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

Insert(Int32, PerspectiveCalculation)

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

Insert(Int32, String)

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

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

パラメーター

index
Int32

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

name
String

新しい PerspectiveCalculation オブジェクトの名前です。

戻り値

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

例外

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

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

適用対象

Insert(Int32, String, PerspectiveCalculationType)

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

public Microsoft.AnalysisServices.PerspectiveCalculation Insert (int index, string name, Microsoft.AnalysisServices.PerspectiveCalculationType type);
override this.Insert : int * string * Microsoft.AnalysisServices.PerspectiveCalculationType -> Microsoft.AnalysisServices.PerspectiveCalculation
Public Function Insert (index As Integer, name As String, type As PerspectiveCalculationType) As PerspectiveCalculation

パラメーター

index
Int32

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

name
String

新しい PerspectiveCalculation オブジェクトの名前です。

type
PerspectiveCalculationType

新しい PerspectiveCalculation オブジェクトの種類です。

戻り値

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

例外

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

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

適用対象

Insert(Int32, PerspectiveCalculation)

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

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

パラメーター

index
Int32

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

item
PerspectiveCalculation

挿入する PerspectiveCalculation です。

例外

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

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

適用対象