RelationshipEndAttributeCollection.Insert 方法

定义

重载

Insert(Int32, RelationshipEndAttribute)

将 RelationshipEndAttribute 插入此集合中的指定索引处。

Insert(Int32, String)

创建、在指定索引处插入并且返回新的 RelationshipEndAttribute。

Insert(Int32, RelationshipEndAttribute)

将 RelationshipEndAttribute 插入此集合中的指定索引处。

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

参数

index
Int32

插入 RelationshipEndAttribute 时所在的从零开始的索引。

item
RelationshipEndAttribute

要插入此集合的 RelationshipEndAttribute。

适用于

Insert(Int32, String)

创建、在指定索引处插入并且返回新的 RelationshipEndAttribute。

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

参数

index
Int32

插入新的 RelationshipEndAttribute 时所在的从零开始的索引。

attributeId
String

新的 RelationshipEndAttribute 的 AttributeID(在此集合中需要是唯一的)。

返回

新创建的 RelationshipEndAttribute。

适用于