Share via


SecurityPropertyCollection.IndexOf Method (SecurityProperty)

 

Gets the index of the specified SecurityProperty, if it exists in the collection.

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

Syntax

public int IndexOf(
    SecurityProperty securityProperty
)
public:
int IndexOf(
    SecurityProperty^ securityProperty
)
member IndexOf : 
        securityProperty:SecurityProperty -> int
Public Function IndexOf (
    securityProperty As SecurityProperty
) As Integer

Parameters

Return Value

Type: System.Int32

The index within the collection at which the specified SecurityProperty was found. If it could not be found, this method returns –1.

See Also

SecurityPropertyCollection Class
System.Web.Security.SingleSignOn.Authorization Namespace

Return to top