ユニット構造

void を表します。

Namespace:System.Reactive
アセンブリ: System.Reactive (System.Reactive.dll)

構文

'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.

Unit 型は、次のメンバーを公開します。

プロパティ

  名前 説明
パブリック プロパティ静的メンバー [Default] 1 つの単位値を取得します。

メソッド

  名前 説明
Public メソッド Equals(Object) 現在の単位が指定したオブジェクトと等しいかどうかを示します。 ( ValueType.Equals(Object)をオーバーライドします)。
Public メソッド Equals(Unit) 現在の単位が指定した単位と等しいかどうかを示します。
Protected メソッド Finalize ( オブジェクトから継承されます)。
Public メソッド GetHashCode 単位値のハッシュ コードを取得します。 ( ValueType.GetHashCode() をオーバーライドします。)
Public メソッド GetType ( オブジェクトから継承されます)。
Protected メソッド MemberwiseClone ( オブジェクトから継承されます)。
Public メソッド ToString ( ValueType から継承されます。

オペレーター

  名前 説明
Public operatorStatic member 等式 1 番目と 2 番目の引数が等しいかどうかを示します。
Public operatorStatic member 不等式 1 番目と 2 番目の引数が等しくないかどうかを示します。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

参照

リファレンス

System.Reactive 名前空間