GroupClaimCollection.IndexOf Method (GroupClaim)

 

Searches for the specified GroupClaimCollection and returns the zero-based index of the first occurrence within the entire collection.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

public int IndexOf(
    GroupClaim value
)
public:
int IndexOf(
    GroupClaim^ value
)
member IndexOf : 
        value:GroupClaim -> int
Public Function IndexOf (
    value As GroupClaim
) As Integer

Parameters

Return Value

Type: System.Int32

The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.

See Also

GroupClaimCollection Class
System.Web.Security.SingleSignOn Namespace

Return to top