Contains Method

RoleGroupCollection.Contains Method (RoleGroup)


Indicates whether the collection contains the specified role group.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public bool Contains(
	RoleGroup group


Type: System.Web.UI.WebControls.RoleGroup

The RoleGroup to look for in the collection.

Return Value

Type: System.Boolean

true if the specified role group is a member of the collection; otherwise false.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft