Partilhar via


Método Contains (CellPermission)

Indicates whether the collection contains a specified CellPermission.

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

Sintaxe

'Declaração
Public Function Contains ( _
    item As CellPermission _
) As Boolean
'Uso
Dim instance As CellPermissionCollection
Dim item As CellPermission
Dim returnValue As Boolean

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

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
true if the CellPermission is contained in the collection; otherwise, false.