ユニット構造
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 つの単位値を取得します。 |
上
メソッド
名前 | 説明 | |
---|---|---|
![]() |
Equals(Object) | 現在の単位が指定したオブジェクトと等しいかどうかを示します。 ( ValueType.Equals(Object)をオーバーライドします)。 |
![]() |
Equals(Unit) | 現在の単位が指定した単位と等しいかどうかを示します。 |
![]() |
Finalize | ( オブジェクトから継承されます)。 |
![]() |
GetHashCode | 単位値のハッシュ コードを取得します。 ( ValueType.GetHashCode() をオーバーライドします。) |
![]() |
GetType | ( オブジェクトから継承されます)。 |
![]() |
MemberwiseClone | ( オブジェクトから継承されます)。 |
![]() |
ToString | ( ValueType から継承されます。 |
上
オペレーター
名前 | 説明 | |
---|---|---|
![]() ![]() |
等式 | 1 番目と 2 番目の引数が等しいかどうかを示します。 |
![]() ![]() |
不等式 | 1 番目と 2 番目の引数が等しくないかどうかを示します。 |
上
スレッド セーフ
この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。