CellPermissionCollection.Contains Method (CellPermission)
Indicates whether the collection contains a specified CellPermission.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As CellPermission _
) As Boolean
'Usage
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
Parameters
- item
Type: Microsoft.AnalysisServices.CellPermission
The CellPermission to be located.
Return Value
Type: System.Boolean
true if the CellPermission is contained in the collection; otherwise, false.