Share via


TrustPolicyEntryCollection.IndexOf Method (TrustPolicyEntry)

 

Searches for the specified TrustPolicyEntry 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(
    TrustPolicyEntry value
)
public:
int IndexOf(
    TrustPolicyEntry^ value
)
member IndexOf : 
        value:TrustPolicyEntry -> int
Public Function IndexOf (
    value As TrustPolicyEntry
) 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

TrustPolicyEntryCollection Class
System.Web.Security.SingleSignOn Namespace

Return to top