Share via


SecurityCollection.Item Property (String)

Gets a Security object with a specific SOAP actor from the current SecurityCollection .

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim securityCollection1 As SecurityCollection

Dim key As String
Dim returnValue As Security
returnValue = securityCollection1.Item(key)

Syntax

'Declaration
Public Overloads ReadOnly Property Item( _
    ByVal actor As String _
) As Security
public Security this[
    string actor
] {get;}
public: property Security^ Item{
    Security^ get();
}
public Security get_Item(
    System.String actor
);
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

  • actor
    A string containing the specific receiver that the SOAP message is targeting.

Property Value

A Security object corresponding to actor .

Exceptions

Exception type Condition
System.ArgumentNullException

actoris null

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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

SecurityCollection Class
Microsoft.Web.Services2.Security Namespace

Other Resources

SecurityCollection Members