語言

AggregationInstanceAttributeCollection.Insert 方法

定義

多載

名稱 Description
Insert(Int32, AggregationInstanceAttribute)

將指定的 AggregationInstanceAttribute 插入集合中指定的索引位置。

Insert(Int32, String)

使用指定的 AttributeID 建立新的 AggregationInstanceAttribute 物件,然後將其插入至集合中指定的索引位置,並傳回新建立的 AggregationInstanceAttribute。

Insert(Int32, AggregationInstanceAttribute)

將指定的 AggregationInstanceAttribute 插入集合中指定的索引位置。

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

參數

index
Int32

以零為基底的索引,這是插入 AggregationInstanceAttribute 之處。

例外狀況

指定的索引不是有效的值 (小於零或大於項目總數)。

適用於

Insert(Int32, String)

使用指定的 AttributeID 建立新的 AggregationInstanceAttribute 物件,然後將其插入至集合中指定的索引位置,並傳回新建立的 AggregationInstanceAttribute。

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

參數

index
Int32

以零為基底的索引,這是插入 AggregationInstanceAttribute 之處。

attributeId
String

新 AggregationInstanceAttribute 物件的 AttributeID。

傳回

新建立的 AggregationInstanceAttribute 物件。

例外狀況

指定的索引不是有效的值 (小於零或大於項目總數)。

指定的 AttributeID 在集合中無效。

適用於