Unit Operators
Include Protected Members
Include Inherited Members
The Unit type exposes the following members.
Operators
NameDescriptionEqualityIndicates whether first and second arguments are equal.
InequalityIndicates whether first and second arguments are not equal.Top
See Also
Reference
Unit Methods
Include Protected Members
Include Inherited Members
The Unit type exposes the following members.
Methods
NameDescriptionEquals(Object)Indicates whether the current unit is equal to the specified object. (Overrides ValueType.Equals(Object).)
Equals(Unit)Indicates whether the current unit is equal to the specified unit.
Finalize(Inherited from Object.)
GetHashCodeGets the unit value's hash code. (Overrides ValueType.GetHashCode().)
GetType(Inherited from Object.)
MemberwiseClone(Inherited from Object.)
ToString(Inherited from ValueType.)Top
See Also
Reference
Unit Properties
Include Protected Members
Include Inherited Members
The Unit type exposes the following members.
Properties
NameDescriptionDefaultGets the single unit value.Top
See Also
Reference
Unit Structure
Represents void.
Namespace: System.Reactive
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Structure Unit _
Implements IEquatable(Of Unit)
'Usage
Dim instance As Unit
[SerializableAttribute]
public struct Unit : IEquatable<Unit>
[SerializableAttribute]
public value class Unit : IEquatable<Unit>
[<SealedAttribute>]
[<SerializableAttribute>]
type Unit =
struct
interface IEquatable<Unit>
end
JScript suports the use of structures, but not the declaration of new ones.
The Unit type exposes the following members.
Properties
NameDescriptionDefaultGets the single unit value.Top
Methods
NameDescriptionEquals(Object)Indicates whether the current unit is equal to the specified object. (Overrides ValueType.Equals(Object).)
Equals(Unit)Indicates whether the current unit is equal to the specified unit.
Finalize(Inherited from Object.)
GetHashCodeGets the unit value's hash code. (Overrides ValueType.GetHashCode().)
GetType(Inherited from Object.)
MemberwiseClone(Inherited from Object.)
ToString(Inherited from ValueType.)Top
Operators
NameDescriptionEqualityIndicates whether first and second arguments are equal.
InequalityIndicates whether first and second arguments are not equal.Top
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.