Share via


TrustPolicyStringCollection.IndexOf Method (String)

 

Returns the index value in the collection for a specified string. This method is a strongly typed implementation of IndexOf(T).

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

Syntax

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

Parameters

  • value
    Type: System.String

    The string to search the collection for.

Return Value

Type: System.Int32

The index value of the string in the collection.

See Also

TrustPolicyStringCollection Class
System.Web.Security.SingleSignOn Namespace

Return to top