Partager via


SoapContext.GetEnumerator Method

Returns a System.Collections.IDictionaryEnumerator that can iterate through the context property bag.

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

Usage

'Usage
Dim returnValue As IDictionaryEnumerator
Dim soapContext1 As SoapContext
returnValue = soapContext1.GetEnumerator()

Syntax

'Declaration
Public Function GetEnumerator() As IDictionaryEnumerator
public IDictionaryEnumerator GetEnumerator();
public:
IDictionaryEnumerator^ GetEnumerator();
public IDictionaryEnumerator GetEnumerator();
public function GetEnumerator() : IDictionaryEnumerator;

Return Value

A IDictionaryEnumerator for the context property bag.

Remarks

Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying 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

SoapContext Class
SoapContext Members
Microsoft.Web.Services3 Namespace