Condividi tramite


Policies.System.Collections.Generic.ICollection<KeyValuePair<String, Policy>>.Contains Method

Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage

                      Dim item As KeyValuePair
Dim returnValue As Boolean
Dim policies1 As Policies
returnValue = DirectCast(policies1, ICollection(Of KeyValuePair)).Contains(item)
                    

Syntax

'Declaration

                      Private Function System.Collections.Generic.ICollection(Of KeyValuePair(Of String, Policy)).Contains( _
    ByVal item As KeyValuePair(Of String, Policy) _
) As Boolean
                    
                      private bool System.Collections.Generic.ICollection<KeyValuePair<string, Policy>>.Contains(
    KeyValuePair<string, Policy> item
);
                    
                      private:
virtual bool arbitrary-name(
    KeyValuePair<String^, Policy^>^ item
);
                    
                      private boolean System.Collections.Generic.ICollection<KeyValuePair<System.String, Policy>>.Contains(
    KeyValuePair<System.String, Policy> item
);
                    
                      In JScript, you cannot declare this method.
                    

Parameters

  • item

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

Policies Class
Policies Members
Microsoft.Web.Services3.Design Namespace