Policies.Item Property

Gets or sets the policy at the specified index.

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

Usage

'Usage
Dim policies1 As Policies

Dim key As String
Dim returnValue As Policy
returnValue = policies1.Item(key)

Dim sampleValue As Policy
policies1.Item(key) = sampleValue

Syntax

'Declaration
Public Property Item( _
    ByVal key As String _
) As Policy
public Policy this[
    string key
] {get; set;}
public:
property virtual Policy^ default[String^] {
    Policy^ get(String^ key);
    void set(String^ key, Policy^ value);
}
public Policy get_Item(
    System.String key
);
public void set_Item(
    System.String key
Policy);
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

  • key
    The zero-based index of the Policy to get or set.

Property Value

The Policy at the specified index.

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