Redigera

Dela via


SafeBuffer.ByteLength Property

Definition

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