Share via


DpwsWseEventSources.IndexOf Method (DpwsWseEventSource)

Searches for the specified event source and returns the zero-based index of the first occurrence within the entire event source collection.

Namespace: Dpws.Device.Services
Assembly: MFDpwsDevice (in mfdpwsdevice.dll)

Syntax

public int IndexOf (
         DpwsWseEventSource value
)

Parameters

  • value
    The event source object to locate in the event source collection. The value can be null.

Return Value

The zero-based index of the first occurrence of event source within the entire event source collection, if found; otherwise, -1.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

DpwsWseEventSources Class
DpwsWseEventSources Members
Dpws.Device.Services Namespace