DimensionCollection.Contains Method (Dimension)

Indicates whether the collection contains a specified Dimension.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Contains ( _
    item As Dimension _
) As Boolean
'Usage
Dim instance As DimensionCollection
Dim item As Dimension
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    Dimension item
)
public:
bool Contains(
    Dimension^ item
)
member Contains : 
        item:Dimension -> bool 
public function Contains(
    item : Dimension
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the Dimension is contained in the collection; otherwise, false.