Share via


RelationshipEndAttributeCollection.Insert Method

Definition

Overloads

Insert(Int32, RelationshipEndAttribute)

Inserts an RelationshipEndAttribute into this collection at the specified index.

Insert(Int32, String)

Creates, inserts at the specified index and returns a new RelationshipEndAttribute.

Insert(Int32, RelationshipEndAttribute)

Inserts an RelationshipEndAttribute into this collection at the specified index.

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)

Parameters

index
Int32

The zero-based index at which the RelationshipEndAttribute is inserted.

item
RelationshipEndAttribute

The RelationshipEndAttribute to insert into this collection.

Applies to

Insert(Int32, String)

Creates, inserts at the specified index and returns a new 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

Parameters

index
Int32

The zero-based index at which the new RelationshipEndAttribute is inserted.

attributeId
String

The AttributeID for the new RelationshipEndAttribute (needs to be unique in this collection).

Returns

The newly created RelationshipEndAttribute.

Applies to