Partager via


AttributeRelationshipCollection.Item[] Property

Definition

Overloads

Item[Int32]

Gets the AttributeRelationship, at the specified index, from the collection.

Item[String]

Gets the AttributeRelationship, with the specified AttributeID, from the collection.

Item[Int32]

Gets the AttributeRelationship, at the specified index, from the collection.

public Microsoft.AnalysisServices.AttributeRelationship this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.AttributeRelationship
Default Public ReadOnly Property Item(index As Integer) As AttributeRelationship

Parameters

index
Int32

The zero-based index of the AttributeRelationship to be returned.

Property Value

The AttributeRelationship at the specified index.

Exceptions

The specified index is not a valid value (less than zero or bigger then the total number of elements).

Applies to

Item[String]

Gets the AttributeRelationship, with the specified AttributeID, from the collection.

public Microsoft.AnalysisServices.AttributeRelationship this[string attributeId] { get; }
member this.Item(string) : Microsoft.AnalysisServices.AttributeRelationship
Default Public ReadOnly Property Item(attributeId As String) As AttributeRelationship

Parameters

attributeId
String

The AttributeID of the AttributeRelationship to be returned.

Property Value

The AttributeRelationship with the specified AttributeID.

Exceptions

The collection doesn't contain an AttributeRelationship with the specified AttributeID.

Applies to