SafeBuffer.ByteLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Gets the size of the buffer, in bytes.
public:
property System::UInt64 ByteLength { System::UInt64 get(); };
[System.CLSCompliant(false)]
public ulong ByteLength { get; }
[<System.CLSCompliant(false)>]
member this.ByteLength : uint64
Public ReadOnly Property ByteLength As ULong
Property Value
The number of bytes in the memory buffer.
- Attributes
Exceptions
The Initialize method has not been called.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.