Share via


TrustPolicyStringCollection.Contains Method (String)

 

Indicates whether the collection contains a specified string. This method is a strongly typed implementation of Contains.

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

Syntax

public bool Contains(
    string value
)
public:
bool Contains(
    String^ value
)
member Contains : 
        value:string -> bool
Public Function Contains (
    value As String
) As Boolean

Parameters

  • value
    Type: System.String

    String value to search collection for.

Return Value

Type: System.Boolean

true if the collection contains the string; otherwise false.

See Also

TrustPolicyStringCollection Class
System.Web.Security.SingleSignOn Namespace

Return to top