Partager via


Contains méthode (String)

Indicates whether the collection contains an AggregationInstanceDimension, which is identified by cubeDimensionId.

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 AggregationInstanceDimensionCollection
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
Returns true if the specified AggregationInstanceDimension exists in the collection; otherwise, false