Byte Struktur

Definisi

Mewakili bilangan bulat yang tidak ditandatangani 8-bit.

public value class System::Byte : IComparable, IComparable<System::Byte>, IConvertible, IEquatable<System::Byte>, IFormattable
public value class System::Byte : IComparable, IComparable<System::Byte>, IConvertible, IEquatable<System::Byte>, ISpanFormattable
public value class System::Byte : IComparable<System::Byte>, IConvertible, IEquatable<System::Byte>, IParsable<System::Byte>, ISpanParsable<System::Byte>, System::Numerics::IAdditionOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::IAdditiveIdentity<System::Byte, System::Byte>, System::Numerics::IBinaryInteger<System::Byte>, System::Numerics::IBinaryNumber<System::Byte>, System::Numerics::IBitwiseOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::IComparisonOperators<System::Byte, System::Byte, bool>, System::Numerics::IDecrementOperators<System::Byte>, System::Numerics::IDivisionOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::IEqualityOperators<System::Byte, System::Byte, bool>, System::Numerics::IIncrementOperators<System::Byte>, System::Numerics::IMinMaxValue<System::Byte>, System::Numerics::IModulusOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::IMultiplicativeIdentity<System::Byte, System::Byte>, System::Numerics::IMultiplyOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::INumber<System::Byte>, System::Numerics::INumberBase<System::Byte>, System::Numerics::IShiftOperators<System::Byte, int, System::Byte>, System::Numerics::ISubtractionOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::IUnaryNegationOperators<System::Byte, System::Byte>, System::Numerics::IUnaryPlusOperators<System::Byte, System::Byte>, System::Numerics::IUnsignedNumber<System::Byte>
public value class System::Byte : IComparable<System::Byte>, IConvertible, IEquatable<System::Byte>, IParsable<System::Byte>, ISpanParsable<System::Byte>, IUtf8SpanParsable<System::Byte>, System::Numerics::IAdditionOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::IAdditiveIdentity<System::Byte, System::Byte>, System::Numerics::IBinaryInteger<System::Byte>, System::Numerics::IBinaryNumber<System::Byte>, System::Numerics::IBitwiseOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::IComparisonOperators<System::Byte, System::Byte, bool>, System::Numerics::IDecrementOperators<System::Byte>, System::Numerics::IDivisionOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::IEqualityOperators<System::Byte, System::Byte, bool>, System::Numerics::IIncrementOperators<System::Byte>, System::Numerics::IMinMaxValue<System::Byte>, System::Numerics::IModulusOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::IMultiplicativeIdentity<System::Byte, System::Byte>, System::Numerics::IMultiplyOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::INumber<System::Byte>, System::Numerics::INumberBase<System::Byte>, System::Numerics::IShiftOperators<System::Byte, int, System::Byte>, System::Numerics::ISubtractionOperators<System::Byte, System::Byte, System::Byte>, System::Numerics::IUnaryNegationOperators<System::Byte, System::Byte>, System::Numerics::IUnaryPlusOperators<System::Byte, System::Byte>, System::Numerics::IUnsignedNumber<System::Byte>
public value class System::Byte : IComparable, IConvertible, IFormattable
public value class System::Byte : IComparable, IComparable<System::Byte>, IEquatable<System::Byte>, IFormattable
public struct Byte : IComparable, IComparable<byte>, IConvertible, IEquatable<byte>, IFormattable
public readonly struct Byte : IComparable, IComparable<byte>, IConvertible, IEquatable<byte>, IFormattable
public readonly struct Byte : IComparable, IComparable<byte>, IConvertible, IEquatable<byte>, ISpanFormattable
public readonly struct Byte : IComparable<byte>, IConvertible, IEquatable<byte>, IParsable<byte>, ISpanParsable<byte>, System.Numerics.IAdditionOperators<byte,byte,byte>, System.Numerics.IAdditiveIdentity<byte,byte>, System.Numerics.IBinaryInteger<byte>, System.Numerics.IBinaryNumber<byte>, System.Numerics.IBitwiseOperators<byte,byte,byte>, System.Numerics.IComparisonOperators<byte,byte,bool>, System.Numerics.IDecrementOperators<byte>, System.Numerics.IDivisionOperators<byte,byte,byte>, System.Numerics.IEqualityOperators<byte,byte,bool>, System.Numerics.IIncrementOperators<byte>, System.Numerics.IMinMaxValue<byte>, System.Numerics.IModulusOperators<byte,byte,byte>, System.Numerics.IMultiplicativeIdentity<byte,byte>, System.Numerics.IMultiplyOperators<byte,byte,byte>, System.Numerics.INumber<byte>, System.Numerics.INumberBase<byte>, System.Numerics.IShiftOperators<byte,int,byte>, System.Numerics.ISubtractionOperators<byte,byte,byte>, System.Numerics.IUnaryNegationOperators<byte,byte>, System.Numerics.IUnaryPlusOperators<byte,byte>, System.Numerics.IUnsignedNumber<byte>
public readonly struct Byte : IComparable<byte>, IConvertible, IEquatable<byte>, IParsable<byte>, ISpanParsable<byte>, IUtf8SpanParsable<byte>, System.Numerics.IAdditionOperators<byte,byte,byte>, System.Numerics.IAdditiveIdentity<byte,byte>, System.Numerics.IBinaryInteger<byte>, System.Numerics.IBinaryNumber<byte>, System.Numerics.IBitwiseOperators<byte,byte,byte>, System.Numerics.IComparisonOperators<byte,byte,bool>, System.Numerics.IDecrementOperators<byte>, System.Numerics.IDivisionOperators<byte,byte,byte>, System.Numerics.IEqualityOperators<byte,byte,bool>, System.Numerics.IIncrementOperators<byte>, System.Numerics.IMinMaxValue<byte>, System.Numerics.IModulusOperators<byte,byte,byte>, System.Numerics.IMultiplicativeIdentity<byte,byte>, System.Numerics.IMultiplyOperators<byte,byte,byte>, System.Numerics.INumber<byte>, System.Numerics.INumberBase<byte>, System.Numerics.IShiftOperators<byte,int,byte>, System.Numerics.ISubtractionOperators<byte,byte,byte>, System.Numerics.IUnaryNegationOperators<byte,byte>, System.Numerics.IUnaryPlusOperators<byte,byte>, System.Numerics.IUnsignedNumber<byte>
[System.Serializable]
public struct Byte : IComparable, IConvertible, IFormattable
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct Byte : IComparable, IComparable<byte>, IConvertible, IEquatable<byte>, IFormattable
public struct Byte : IComparable, IComparable<byte>, IEquatable<byte>, IFormattable
type byte = struct
    interface IConvertible
    interface IFormattable
type byte = struct
    interface IConvertible
    interface ISpanFormattable
    interface IFormattable
type byte = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<byte>
    interface ISpanFormattable
    interface ISpanParsable<byte>
    interface IAdditionOperators<byte, byte, byte>
    interface IAdditiveIdentity<byte, byte>
    interface IBinaryInteger<byte>
    interface IBinaryNumber<byte>
    interface IBitwiseOperators<byte, byte, byte>
    interface IComparisonOperators<byte, byte, bool>
    interface IEqualityOperators<byte, byte, bool>
    interface IDecrementOperators<byte>
    interface IDivisionOperators<byte, byte, byte>
    interface IIncrementOperators<byte>
    interface IModulusOperators<byte, byte, byte>
    interface IMultiplicativeIdentity<byte, byte>
    interface IMultiplyOperators<byte, byte, byte>
    interface INumber<byte>
    interface INumberBase<byte>
    interface ISubtractionOperators<byte, byte, byte>
    interface IUnaryNegationOperators<byte, byte>
    interface IUnaryPlusOperators<byte, byte>
    interface IShiftOperators<byte, int, byte>
    interface IMinMaxValue<byte>
    interface IUnsignedNumber<byte>
type byte = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<byte>
    interface ISpanFormattable
    interface ISpanParsable<byte>
    interface IAdditionOperators<byte, byte, byte>
    interface IAdditiveIdentity<byte, byte>
    interface IBinaryInteger<byte>
    interface IBinaryNumber<byte>
    interface IBitwiseOperators<byte, byte, byte>
    interface IComparisonOperators<byte, byte, bool>
    interface IEqualityOperators<byte, byte, bool>
    interface IDecrementOperators<byte>
    interface IDivisionOperators<byte, byte, byte>
    interface IIncrementOperators<byte>
    interface IModulusOperators<byte, byte, byte>
    interface IMultiplicativeIdentity<byte, byte>
    interface IMultiplyOperators<byte, byte, byte>
    interface INumber<byte>
    interface INumberBase<byte>
    interface ISubtractionOperators<byte, byte, byte>
    interface IUnaryNegationOperators<byte, byte>
    interface IUnaryPlusOperators<byte, byte>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<byte>
    interface IShiftOperators<byte, int, byte>
    interface IMinMaxValue<byte>
    interface IUnsignedNumber<byte>
type byte = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<byte>
    interface ISpanFormattable
    interface ISpanParsable<byte>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<byte>
    interface IAdditionOperators<byte, byte, byte>
    interface IAdditiveIdentity<byte, byte>
    interface IBinaryInteger<byte>
    interface IBinaryNumber<byte>
    interface IBitwiseOperators<byte, byte, byte>
    interface IComparisonOperators<byte, byte, bool>
    interface IEqualityOperators<byte, byte, bool>
    interface IDecrementOperators<byte>
    interface IDivisionOperators<byte, byte, byte>
    interface IIncrementOperators<byte>
    interface IModulusOperators<byte, byte, byte>
    interface IMultiplicativeIdentity<byte, byte>
    interface IMultiplyOperators<byte, byte, byte>
    interface INumber<byte>
    interface INumberBase<byte>
    interface ISubtractionOperators<byte, byte, byte>
    interface IUnaryNegationOperators<byte, byte>
    interface IUnaryPlusOperators<byte, byte>
    interface IShiftOperators<byte, int, byte>
    interface IMinMaxValue<byte>
    interface IUnsignedNumber<byte>
[<System.Serializable>]
type byte = struct
    interface IFormattable
    interface IConvertible
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type byte = struct
    interface IFormattable
    interface IConvertible
type byte = struct
    interface IFormattable
Public Structure Byte
Implements IComparable, IComparable(Of Byte), IConvertible, IEquatable(Of Byte), IFormattable
Public Structure Byte
Implements IComparable, IComparable(Of Byte), IConvertible, IEquatable(Of Byte), ISpanFormattable
Public Structure Byte
Implements IAdditionOperators(Of Byte, Byte, Byte), IAdditiveIdentity(Of Byte, Byte), IBinaryInteger(Of Byte), IBinaryNumber(Of Byte), IBitwiseOperators(Of Byte, Byte, Byte), IComparable(Of Byte), IComparisonOperators(Of Byte, Byte, Boolean), IConvertible, IDecrementOperators(Of Byte), IDivisionOperators(Of Byte, Byte, Byte), IEqualityOperators(Of Byte, Byte, Boolean), IEquatable(Of Byte), IIncrementOperators(Of Byte), IMinMaxValue(Of Byte), IModulusOperators(Of Byte, Byte, Byte), IMultiplicativeIdentity(Of Byte, Byte), IMultiplyOperators(Of Byte, Byte, Byte), INumber(Of Byte), INumberBase(Of Byte), IParsable(Of Byte), IShiftOperators(Of Byte, Integer, Byte), ISpanParsable(Of Byte), ISubtractionOperators(Of Byte, Byte, Byte), IUnaryNegationOperators(Of Byte, Byte), IUnaryPlusOperators(Of Byte, Byte), IUnsignedNumber(Of Byte)
Public Structure Byte
Implements IAdditionOperators(Of Byte, Byte, Byte), IAdditiveIdentity(Of Byte, Byte), IBinaryInteger(Of Byte), IBinaryNumber(Of Byte), IBitwiseOperators(Of Byte, Byte, Byte), IComparable(Of Byte), IComparisonOperators(Of Byte, Byte, Boolean), IConvertible, IDecrementOperators(Of Byte), IDivisionOperators(Of Byte, Byte, Byte), IEqualityOperators(Of Byte, Byte, Boolean), IEquatable(Of Byte), IIncrementOperators(Of Byte), IMinMaxValue(Of Byte), IModulusOperators(Of Byte, Byte, Byte), IMultiplicativeIdentity(Of Byte, Byte), IMultiplyOperators(Of Byte, Byte, Byte), INumber(Of Byte), INumberBase(Of Byte), IParsable(Of Byte), IShiftOperators(Of Byte, Integer, Byte), ISpanParsable(Of Byte), ISubtractionOperators(Of Byte, Byte, Byte), IUnaryNegationOperators(Of Byte, Byte), IUnaryPlusOperators(Of Byte, Byte), IUnsignedNumber(Of Byte), IUtf8SpanParsable(Of Byte)
Public Structure Byte
Implements IComparable, IConvertible, IFormattable
Public Structure Byte
Implements IComparable, IComparable(Of Byte), IEquatable(Of Byte), IFormattable
Warisan
Atribut
Penerapan
IComparable IComparable<Byte> IConvertible IEquatable<Byte> IFormattable ISpanFormattable IComparable<TSelf> IEquatable<TSelf> IParsable<Byte> IParsable<TSelf> ISpanParsable<Byte> ISpanParsable<TSelf> IAdditionOperators<Byte,Byte,Byte> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<Byte,Byte> IAdditiveIdentity<TSelf,TSelf> IBinaryInteger<Byte> IBinaryNumber<Byte> IBinaryNumber<TSelf> IBitwiseOperators<Byte,Byte,Byte> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<Byte,Byte,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<Byte> IDecrementOperators<TSelf> IDivisionOperators<Byte,Byte,Byte> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<Byte,Byte,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<Byte> IIncrementOperators<TSelf> IMinMaxValue<Byte> IModulusOperators<Byte,Byte,Byte> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<Byte,Byte> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<Byte,Byte,Byte> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<Byte> INumber<TSelf> INumberBase<Byte> INumberBase<TSelf> IShiftOperators<Byte,Int32,Byte> IShiftOperators<TSelf,Int32,TSelf> ISubtractionOperators<Byte,Byte,Byte> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<Byte,Byte> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<Byte,Byte> IUnaryPlusOperators<TSelf,TSelf> IUnsignedNumber<Byte> IUtf8SpanFormattable IUtf8SpanParsable<Byte> IUtf8SpanParsable<TSelf>

Keterangan

Untuk informasi selengkapnya tentang API ini, lihat Keterangan API Tambahan untuk Byte.

Bidang

MaxValue

Mewakili nilai terbesar yang mungkin dari .Byte Bidang ini konstan.

MinValue

Mewakili nilai sekecil mungkin dari Byte. Bidang ini konstan.

Metode

Clamp(Byte, Byte, Byte)

Menjepit nilai ke nilai minimum dan maksimum inklusif.

CompareTo(Byte)

Membandingkan instans ini dengan bilangan bulat yang tidak ditandatangani 8-bit tertentu dan mengembalikan indikasi nilai relatifnya.

CompareTo(Object)

Membandingkan instans ini dengan objek tertentu dan mengembalikan indikasi nilai relatifnya.

CreateChecked<TOther>(TOther)

Membuat instans jenis saat ini dari nilai, melemparkan pengecualian luapan untuk nilai apa pun yang berada di luar rentang yang dapat diwakili dari jenis saat ini.

CreateSaturating<TOther>(TOther)

Membuat instans jenis saat ini dari nilai, menjenuhkan nilai apa pun yang berada di luar rentang yang dapat diwakili dari jenis saat ini.

CreateTruncating<TOther>(TOther)

Membuat instans jenis saat ini dari nilai, memotong nilai apa pun yang berada di luar rentang yang dapat diwakili dari jenis saat ini.

DivRem(Byte, Byte)

Menghitung quotient dan sisa dari dua nilai.

Equals(Byte)

Mengembalikan nilai yang menunjukkan apakah instans ini dan objek tertentu Byte mewakili nilai yang sama.

Equals(Object)

Mengembalikan nilai yang menunjukkan apakah instans ini sama dengan objek tertentu.

GetHashCode()

Mengembalikan kode hash untuk instans ini.

GetTypeCode()

Mengembalikan TypeCode untuk jenis Bytenilai .

IsEvenInteger(Byte)

Menentukan apakah nilai mewakili angka integral yang merata.

IsOddInteger(Byte)

Menentukan apakah nilai mewakili angka integral ganjil.

IsPow2(Byte)

Menentukan apakah nilai adalah kekuatan dari dua.

LeadingZeroCount(Byte)

Menghitung jumlah nol di depannya dalam sebuah nilai.

Log2(Byte)

Menghitung log2 dari nilai.

Max(Byte, Byte)

Membandingkan dua nilai dengan komputasi yang lebih besar.

Min(Byte, Byte)

Membandingkan dua nilai dengan komputasi yang lebih sedikit.

Parse(ReadOnlySpan<Byte>, IFormatProvider)

Menguraikan rentang karakter UTF-8 ke dalam nilai.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Menguraikan rentang karakter UTF-8 ke dalam nilai.

Parse(ReadOnlySpan<Char>, IFormatProvider)

Mengurai rentang karakter ke dalam nilai.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Mengonversi representasi rentang angka dalam gaya tertentu dan format khusus budaya menjadi Byte setara.

Parse(String)

Mengonversi representasi string dari angka menjadi Byte setara.

Parse(String, IFormatProvider)

Mengonversi representasi string dari angka dalam format khusus budaya tertentu menjadi Byte setara.

Parse(String, NumberStyles)

Mengonversi representasi string dari angka dalam gaya tertentu menjadi Byte setara.

Parse(String, NumberStyles, IFormatProvider)

Mengonversi representasi string angka dalam gaya tertentu dan format khusus budaya menjadi Byte setara.

PopCount(Byte)

Menghitung jumlah bit yang diatur dalam nilai.

RotateLeft(Byte, Int32)

Memutar nilai yang ditinggalkan oleh jumlah tertentu.

RotateRight(Byte, Int32)

Memutar nilai tepat dengan jumlah tertentu.

Sign(Byte)

Menghitung tanda nilai.

ToString()

Mengonversi nilai objek saat ini Byte ke representasi string yang setara.

ToString(IFormatProvider)

Mengonversi nilai numerik objek saat ini Byte ke representasi string yang setara menggunakan informasi pemformatan khusus budaya yang ditentukan.

ToString(String)

Mengonversi nilai objek saat ini Byte ke representasi string yang setara menggunakan format yang ditentukan.

ToString(String, IFormatProvider)

Mengonversi nilai objek saat ini Byte ke representasi string yang setara menggunakan format yang ditentukan dan informasi pemformatan khusus budaya.

TrailingZeroCount(Byte)

Menghitung jumlah nol berikutnya dalam sebuah nilai.

TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Mencoba memformat nilai instans saat ini sebagai UTF-8 ke dalam rentang byte yang disediakan.

TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Mencoba memformat nilai instans bilangan bulat tidak bertanda 8-bit saat ini ke dalam rentang karakter yang disediakan.

TryParse(ReadOnlySpan<Byte>, Byte)

Mencoba mengonversi rentang karakter UTF-8 yang berisi representasi string angka ke bilangan bulat tidak bertanda 8-bit yang setara.

TryParse(ReadOnlySpan<Byte>, IFormatProvider, Byte)

Mencoba mengurai rentang karakter UTF-8 ke dalam nilai.

TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, Byte)

Mencoba mengurai rentang karakter UTF-8 ke dalam nilai.

TryParse(ReadOnlySpan<Char>, Byte)

Mencoba mengonversi representasi rentang angka menjadi Byte setara, dan mengembalikan nilai yang menunjukkan apakah konversi berhasil.

TryParse(ReadOnlySpan<Char>, IFormatProvider, Byte)

Mencoba mengurai rentang karakter ke dalam nilai.

TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, Byte)

Mengonversi representasi rentang angka dalam gaya tertentu dan format khusus budaya menjadi Byte setara. Nilai yang dikembalikan menunjukkan apakah konversi berhasil atau gagal.

TryParse(String, Byte)

Mencoba mengonversi representasi string dari angka menjadi Byte setara, dan mengembalikan nilai yang menunjukkan apakah konversi berhasil.

TryParse(String, IFormatProvider, Byte)

Mencoba mengurai string ke dalam nilai.

TryParse(String, NumberStyles, IFormatProvider, Byte)

Mengonversi representasi string angka dalam gaya tertentu dan format khusus budaya menjadi Byte setara. Nilai yang dikembalikan menunjukkan apakah konversi berhasil atau gagal.

Implementasi Antarmuka Eksplisit

IAdditionOperators<Byte,Byte,Byte>.Addition(Byte, Byte)

Menambahkan dua nilai bersama-sama untuk menghitung jumlahnya.

IAdditionOperators<Byte,Byte,Byte>.CheckedAddition(Byte, Byte)

Menambahkan dua nilai bersama-sama untuk menghitung jumlahnya.

IAdditiveIdentity<Byte,Byte>.AdditiveIdentity

Mendapatkan identitas aditif dari jenis saat ini.

IBinaryInteger<Byte>.GetByteCount()

Mendapatkan jumlah byte yang akan ditulis sebagai bagian TryWriteLittleEndian(Span<Byte>, Int32)dari .

IBinaryInteger<Byte>.GetShortestBitLength()

Mendapatkan panjang, dalam bit, dari representasi pelengkap dua terpendek dari nilai saat ini.

IBinaryInteger<Byte>.TryReadBigEndian(ReadOnlySpan<Byte>, Boolean, Byte)

Mewakili bilangan bulat yang tidak ditandatangani 8-bit.

IBinaryInteger<Byte>.TryReadLittleEndian(ReadOnlySpan<Byte>, Boolean, Byte)

Mewakili bilangan bulat yang tidak ditandatangani 8-bit.

IBinaryInteger<Byte>.TryWriteBigEndian(Span<Byte>, Int32)

Mencoba menulis nilai saat ini, dalam format big-endian, ke rentang tertentu.

IBinaryInteger<Byte>.TryWriteLittleEndian(Span<Byte>, Int32)

Mencoba menulis nilai saat ini, dalam format little-endian, ke rentang tertentu.

IBinaryNumber<Byte>.AllBitsSet

Mendapatkan instans jenis biner tempat semua bit diatur.

IBitwiseOperators<Byte,Byte,Byte>.BitwiseAnd(Byte, Byte)

Menghitung bitwise-dan dari dua nilai.

IBitwiseOperators<Byte,Byte,Byte>.BitwiseOr(Byte, Byte)

Menghitung bitwise-atau dari dua nilai.

IBitwiseOperators<Byte,Byte,Byte>.ExclusiveOr(Byte, Byte)

Menghitung nilai eksklusif atau dari dua nilai.

IBitwiseOperators<Byte,Byte,Byte>.OnesComplement(Byte)

Menghitung representasi ones-complement dari nilai tertentu.

IComparable.CompareTo(Object)

Membandingkan instans saat ini dengan objek lain dengan jenis yang sama dan mengembalikan bilangan bulat yang menunjukkan apakah instans saat ini mendahului, mengikuti, atau terjadi dalam posisi yang sama dalam urutan pengurutan seperti objek lainnya.

IComparisonOperators<Byte,Byte,Boolean>.GreaterThan(Byte, Byte)

Membandingkan dua nilai untuk menentukan mana yang lebih besar.

IComparisonOperators<Byte,Byte,Boolean>.GreaterThanOrEqual(Byte, Byte)

Membandingkan dua nilai untuk menentukan mana yang lebih besar atau sama.

IComparisonOperators<Byte,Byte,Boolean>.LessThan(Byte, Byte)

Membandingkan dua nilai untuk menentukan mana yang lebih sedikit.

IComparisonOperators<Byte,Byte,Boolean>.LessThanOrEqual(Byte, Byte)

Membandingkan dua nilai untuk menentukan mana yang kurang atau sama dengan.

IConvertible.GetTypeCode()

Mengembalikan untuk instans TypeCode ini.

IConvertible.ToBoolean(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToBoolean(IFormatProvider).

IConvertible.ToByte(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToByte(IFormatProvider).

IConvertible.ToChar(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToChar(IFormatProvider).

IConvertible.ToDateTime(IFormatProvider)

Konversi ini tidak didukung. Mencoba menggunakan metode ini melempar InvalidCastException.

IConvertible.ToDecimal(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToDecimal(IFormatProvider).

IConvertible.ToDouble(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToDouble(IFormatProvider).

IConvertible.ToInt16(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToInt16(IFormatProvider).

IConvertible.ToInt32(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToInt32(IFormatProvider).

IConvertible.ToInt64(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToInt64(IFormatProvider).

IConvertible.ToSByte(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToSByte(IFormatProvider).

IConvertible.ToSingle(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToSingle(IFormatProvider).

IConvertible.ToType(Type, IFormatProvider)

Untuk deskripsi anggota ini, lihat ToType(Type, IFormatProvider).

IConvertible.ToUInt16(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToUInt16(IFormatProvider).

IConvertible.ToUInt32(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToUInt32(IFormatProvider).

IConvertible.ToUInt64(IFormatProvider)

Untuk deskripsi anggota ini, lihat ToUInt64(IFormatProvider).

IDecrementOperators<Byte>.CheckedDecrement(Byte)

Mengurangi nilai.

IDecrementOperators<Byte>.Decrement(Byte)

Mengurangi nilai.

IDivisionOperators<Byte,Byte,Byte>.Division(Byte, Byte)

Membagi satu nilai dengan nilai lain untuk menghitung quotient mereka.

IEqualityOperators<Byte,Byte,Boolean>.Equality(Byte, Byte)

Membandingkan dua nilai untuk menentukan kesetaraan.

IEqualityOperators<Byte,Byte,Boolean>.Inequality(Byte, Byte)

Membandingkan dua nilai untuk menentukan ketidaksetaraan.

IIncrementOperators<Byte>.CheckedIncrement(Byte)

Menaikkan nilai.

IIncrementOperators<Byte>.Increment(Byte)

Menaikkan nilai.

IMinMaxValue<Byte>.MaxValue

Mendapatkan nilai maksimum dari jenis saat ini.

IMinMaxValue<Byte>.MinValue

Mendapatkan nilai minimum dari jenis saat ini.

IModulusOperators<Byte,Byte,Byte>.Modulus(Byte, Byte)

Membagi dua nilai bersama-sama untuk menghitung modulus atau sisanya.

IMultiplicativeIdentity<Byte,Byte>.MultiplicativeIdentity

Mendapatkan identitas multiplikatif dari jenis saat ini.

IMultiplyOperators<Byte,Byte,Byte>.CheckedMultiply(Byte, Byte)

Mengalikan dua nilai bersama-sama untuk menghitung produk mereka.

IMultiplyOperators<Byte,Byte,Byte>.Multiply(Byte, Byte)

Mengalikan dua nilai bersama-sama untuk menghitung produk mereka.

INumber<Byte>.CopySign(Byte, Byte)

Menyalin tanda nilai ke tanda nilai lain.

INumber<Byte>.MaxNumber(Byte, Byte)

Membandingkan dua nilai dengan komputasi yang lebih besar dan mengembalikan nilai lain jika input adalah NaN.

INumber<Byte>.MinNumber(Byte, Byte)

Membandingkan dua nilai dengan komputasi yang lebih kecil dan mengembalikan nilai lain jika input adalah NaN.

INumberBase<Byte>.Abs(Byte)

Menghitung absolut nilai.

INumberBase<Byte>.IsCanonical(Byte)

Menentukan apakah nilai berada dalam representasi kanonisnya.

INumberBase<Byte>.IsComplexNumber(Byte)

Menentukan apakah nilai mewakili bilangan kompleks.

INumberBase<Byte>.IsFinite(Byte)

Menentukan apakah nilai terbatas.

INumberBase<Byte>.IsImaginaryNumber(Byte)

Menentukan apakah nilai mewakili angka imajiner murni.

INumberBase<Byte>.IsInfinity(Byte)

Menentukan apakah nilai tidak terbatas.

INumberBase<Byte>.IsInteger(Byte)

Menentukan apakah nilai menunjukkan angka integral.

INumberBase<Byte>.IsNaN(Byte)

Menentukan apakah nilainya adalah NaN.

INumberBase<Byte>.IsNegative(Byte)

Menentukan apakah nilai negatif.

INumberBase<Byte>.IsNegativeInfinity(Byte)

Menentukan apakah nilai adalah tak terbatas negatif.

INumberBase<Byte>.IsNormal(Byte)

Menentukan apakah nilai normal.

INumberBase<Byte>.IsPositive(Byte)

Menentukan apakah nilai positif.

INumberBase<Byte>.IsPositiveInfinity(Byte)

Menentukan apakah nilai adalah infinitas positif.

INumberBase<Byte>.IsRealNumber(Byte)

Menentukan apakah nilai mewakili angka riil.

INumberBase<Byte>.IsSubnormal(Byte)

Menentukan apakah nilainya subnormal.

INumberBase<Byte>.IsZero(Byte)

Menentukan apakah nilai adalah nol.

INumberBase<Byte>.MaxMagnitude(Byte, Byte)

Membandingkan dua nilai dengan komputasi yang lebih besar.

INumberBase<Byte>.MaxMagnitudeNumber(Byte, Byte)

Membandingkan dua nilai dengan komputasi yang memiliki besaran lebih besar dan mengembalikan nilai lain jika input adalah NaN.

INumberBase<Byte>.MinMagnitude(Byte, Byte)

Membandingkan dua nilai dengan komputasi yang lebih sedikit.

INumberBase<Byte>.MinMagnitudeNumber(Byte, Byte)

Membandingkan dua nilai dengan komputasi yang memiliki besaran lebih kecil dan mengembalikan nilai lainnya jika input adalah NaN.

INumberBase<Byte>.One

Mendapatkan nilai 1 untuk jenis tersebut.

INumberBase<Byte>.Radix

Mendapatkan radix, atau basis, untuk jenisnya.

INumberBase<Byte>.TryConvertFromChecked<TOther>(TOther, Byte)

Mewakili bilangan bulat yang tidak ditandatangani 8-bit.

INumberBase<Byte>.TryConvertFromSaturating<TOther>(TOther, Byte)

Mewakili bilangan bulat yang tidak ditandatangani 8-bit.

INumberBase<Byte>.TryConvertFromTruncating<TOther>(TOther, Byte)

Mewakili bilangan bulat yang tidak ditandatangani 8-bit.

INumberBase<Byte>.TryConvertToChecked<TOther>(Byte, TOther)

Mencoba mengonversi instans dari jenis saat ini ke jenis lain, melemparkan pengecualian luapan untuk nilai apa pun yang berada di luar rentang yang dapat diwakili dari jenis saat ini.

INumberBase<Byte>.TryConvertToSaturating<TOther>(Byte, TOther)

Mencoba mengonversi instans jenis saat ini ke jenis lain, menjenuhkan nilai apa pun yang berada di luar rentang yang dapat diwakili dari jenis saat ini.

INumberBase<Byte>.TryConvertToTruncating<TOther>(Byte, TOther)

Mencoba mengonversi instans jenis saat ini ke jenis lain, memotong nilai apa pun yang berada di luar rentang yang dapat diwakili dari jenis saat ini.

INumberBase<Byte>.Zero

Mendapatkan nilai 0 untuk jenis tersebut.

IShiftOperators<Byte,Int32,Byte>.LeftShift(Byte, Int32)

Menggeser nilai yang ditinggalkan oleh jumlah tertentu.

IShiftOperators<Byte,Int32,Byte>.RightShift(Byte, Int32)

Menggeser nilai ke kanan dengan jumlah tertentu.

IShiftOperators<Byte,Int32,Byte>.UnsignedRightShift(Byte, Int32)

Menggeser nilai ke kanan dengan jumlah tertentu.

ISubtractionOperators<Byte,Byte,Byte>.CheckedSubtraction(Byte, Byte)

Mengurangi dua nilai untuk menghitung perbedaannya.

ISubtractionOperators<Byte,Byte,Byte>.Subtraction(Byte, Byte)

Mengurangi dua nilai untuk menghitung perbedaannya.

IUnaryNegationOperators<Byte,Byte>.CheckedUnaryNegation(Byte)

Menghitung negasi unary yang diperiksa dari sebuah nilai.

IUnaryNegationOperators<Byte,Byte>.UnaryNegation(Byte)

Menghitung negasi nilai yang tidak biasa.

IUnaryPlusOperators<Byte,Byte>.UnaryPlus(Byte)

Menghitung nilai plus unary.

Berlaku untuk

Keamanan Thread

Semua anggota jenis ini aman untuk utas. Anggota yang tampaknya memodifikasi status instans benar-benar mengembalikan instans baru yang diinisialisasi dengan nilai baru. Seperti halnya jenis lain, membaca dan menulis ke variabel bersama yang berisi instans jenis ini harus dilindungi oleh kunci untuk menjamin keamanan utas.

Lihat juga