CubeAttributeCollection.Add Method (String)
Creates and adds a CubeAttribute, with the specified identifier, to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
attributeId As String _
) As CubeAttribute
'Usage
Dim instance As CubeAttributeCollection
Dim attributeId As String
Dim returnValue As CubeAttribute
returnValue = instance.Add(attributeId)
public CubeAttribute Add(
string attributeId
)
public:
CubeAttribute^ Add(
String^ attributeId
)
member Add :
attributeId:string -> CubeAttribute
public function Add(
attributeId : String
) : CubeAttribute
Parameters
- attributeId
Type: System.String
Return Value
Type: Microsoft.AnalysisServices.CubeAttribute
The zero-based index at which the CubeAttribute has been added.