Policies.Add Method

Adds the specified policy to the collection.

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

Usage

'Usage
Dim key As String
Dim value As Policy
Dim policies1 As Policies
policies1.Add(key, value)

Syntax

'Declaration
Public Sub Add( _
    ByVal key As String, _
    ByVal value As Policy _
)
public void Add(
    string key, 
    Policy value
);
public:
virtual void arbitrary-name(
    String^ key,
    Policy^ value
);
public void Add(
    System.String key, 
    Policy value
);
public final function Add(
     key : String, 
     value : Policy
) : Void;

Parameters

  • key
    The object to use as the key of the Policy to add.
  • value
    The Policy to add to the collection.

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