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 时所在的从零开始的索引。

例外

指定的索引不是有效值(小于零或大于元素总数)。

适用于

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 时所在的从零开始的索引。

attributeId
String

新的 AggregationDesignAttribute 对象的 AttributeID。

返回

新创建的 AggregationDesignAttribute 对象。

例外

指定的索引不是有效值(小于零或大于元素总数)。

指定的 AttributeID 在集合中无效。

适用于