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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.