CubeAttributeCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Item[String] |
Gets the CubeAttribute, with the specified AttributeID, from the collection. |
Item[Int32] |
Gets the CubeAttribute, at the specified index, from the collection. |
Item[String]
Gets the CubeAttribute, with the specified AttributeID, from the collection.
public Microsoft.AnalysisServices.CubeAttribute this[string attributeId] { get; }
member this.Item(string) : Microsoft.AnalysisServices.CubeAttribute
Default Public ReadOnly Property Item(attributeId As String) As CubeAttribute
Parameters
- attributeId
- String
The AttributeID of the CubeAttribute to be returned.
Property Value
The CubeAttribute with the specified AttributeID.
Exceptions
The collection doesn't contain a CubeAttribute with the specified AttributeID.
Applies to
Item[Int32]
Gets the CubeAttribute, at the specified index, from the collection.
public Microsoft.AnalysisServices.CubeAttribute this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.CubeAttribute
Default Public ReadOnly Property Item(index As Integer) As CubeAttribute
Parameters
- index
- Int32
The zero-based index of the CubeAttribute to be returned.
Property Value
The CubeAttribute at the specified index.
Exceptions
The specified index is not a valid value (less than zero or bigger then the total number of elements).