Compartir a través de


Contains Método (String)

Indicates whether the collection contains a MeasureGroup that has the specified identifier.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Function Contains ( _
    id As String _
) As Boolean
'Uso
Dim instance As MeasureGroupCollection
Dim id As String
Dim returnValue As Boolean

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

Parámetros

Valor devuelto

Tipo: System. . :: . .Boolean
true if the MeasureGroup exists in the collection; otherwise, false.