Condividi tramite


Policies.ContainsKey Method

Determines whether the collection contains a policy with the specified key.

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

Usage

'Usage
Dim key As String
Dim returnValue As Boolean
Dim policies1 As Policies
returnValue = policies1.ContainsKey(key)

Syntax

'Declaration
Public Function ContainsKey( _
    ByVal key As String _
) As Boolean
public bool ContainsKey(
    string key
);
public:
virtual bool arbitrary-name(
    String^ key
);
public boolean ContainsKey(
    System.String key
);
public final function ContainsKey(
     key : String
) : Boolean;

Parameters

  • key
    The key to locate in the collection.

Return Value

true if the collection contains a policy with the key; otherwise, false.

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