RoleMemberCollection.Contains Method
Determines whether the specified RoleMember is in the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As RoleMember _
) As Boolean
'Usage
Dim instance As RoleMemberCollection
Dim item As RoleMember
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
RoleMember item
)
public:
bool Contains(
RoleMember^ item
)
member Contains :
item:RoleMember -> bool
public function Contains(
item : RoleMember
) : boolean
Parameters
- item
Type: Microsoft.AnalysisServices.RoleMember
The RoleMember to verify if it’s in the collection.
Return Value
Type: System.Boolean
true if the specified RoleMember is found in the collection, otherwise, false.