IBitwiseOperators<TSelf,TOther,TResult> Antarmuka

Definisi

Mendefinisikan mekanisme untuk melakukan operasi bitwise di atas dua nilai.

generic <typename TSelf, typename TOther, typename TResult>
 where TSelf : IBitwiseOperators<TSelf, TOther, TResult>public interface class IBitwiseOperators
public interface IBitwiseOperators<TSelf,TOther,TResult> where TSelf : IBitwiseOperators<TSelf,TOther,TResult>
type IBitwiseOperators<'Self, 'Other, 'Result (requires 'Self :> IBitwiseOperators<'Self, 'Other, 'Result>)> = interface
Public Interface IBitwiseOperators(Of TSelf, TOther, TResult)

Jenis parameter

TSelf

Jenis yang mengimplementasikan antarmuka ini.

TOther

Jenis yang digunakan dalam operasi dengan TSelf.

TResult

Jenis yang berisi hasil TSelf op TOther.

Turunan

Operator

BitwiseAnd(TSelf, TOther)

Menghitung bitwise-dan dari dua nilai.

BitwiseOr(TSelf, TOther)

Menghitung bitwise-atau dari dua nilai.

ExclusiveOr(TSelf, TOther)

Menghitung nilai eksklusif atau dari dua nilai.

OnesComplement(TSelf)

Menghitung representasi ones-complement dari nilai tertentu.

Berlaku untuk