Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Unit Structure

Unit Structure

Represents void.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)

public struct Unit : IEquatable<Unit>

The Unit type exposes the following members.

Public propertyStatic memberDefaultGets the single unit value.

Public methodEquals(Object)Indicates whether the current unit is equal to the specified object. (Overrides ValueType.Equals(Object).)
Public methodEquals(Unit)Indicates whether the current unit is equal to the specified unit.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeGets the unit value's hash code. (Overrides ValueType.GetHashCode().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from ValueType.)

Public operatorStatic memberEqualityIndicates whether first and second arguments are equal.
Public operatorStatic memberInequalityIndicates whether first and second arguments are not equal.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft