RoleMemberCollection.Contains 方法
Determines whether the specified RoleMember is in the collection.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Function Contains ( _
item As RoleMember _
) As Boolean
用法
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
参数
- item
类型:Microsoft.AnalysisServices.RoleMember
The RoleMember to verify if it’s in the collection.
返回值
类型:System.Boolean
true if the specified RoleMember is found in the collection, otherwise, false.