StateBase.ComparisonValue Property

3/29/2010

Gets and sets the comparion value that is used in the generation of Status events. The event occurs when the result of the comparison is true.

Namespace: Microsoft.WindowsMobile.Status
Assembly: Microsoft.WindowsMobile.Status (in microsoft.windowsmobile.status.dll)

Syntax

public abstract Object ComparisonValue { get; set; }
'Declaration
Public MustOverride Property ComparisonValue As Object

Remarks

You must initialize ComparisonValue with either an integer or a string value. To initialize it with an enumeration value, you must cast the value as either (int) or (string).

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.

See Also

Reference

StateBase Class
StateBase Members
Microsoft.WindowsMobile.Status Namespace