次の方法で共有


AggregationDesignAttributeCollection.Insert メソッド

定義

オーバーロード

Insert(Int32, AggregationDesignAttribute)

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

Insert(Int32, String)

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

Insert(Int32, AggregationDesignAttribute)

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

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

パラメーター

index
Int32

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

例外

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

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

適用対象

Insert(Int32, String)

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

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

パラメーター

index
Int32

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

attributeId
String

新しい AggregationDesignAttribute オブジェクトの AttributeID です。

戻り値

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

例外

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

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

適用対象