Partager via


Contains méthode (String)

Checks whether the collection contains an AggregationDimension with the specified identifier.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Contains ( _
    cubeDimensionId As String _
) As Boolean
'Utilisation
Dim instance As AggregationDimensionCollection
Dim cubeDimensionId As String
Dim returnValue As Boolean

returnValue = instance.Contains(cubeDimensionId)
public bool Contains(
    string cubeDimensionId
)
public:
bool Contains(
    String^ cubeDimensionId
)
member Contains : 
        cubeDimensionId:string -> bool 
public function Contains(
    cubeDimensionId : String
) : boolean

Paramètres

Valeur de retour

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