Propiedad SafeBuffer.ByteLength
Publicado: octubre de 2016
Obtiene el tamaño del búfer, en bytes.
Esta API no es conforme a CLS.
Espacio de nombres: System.Runtime.InteropServices
Ensamblado: mscorlib (en mscorlib.dll)
Sintaxis
[CLSCompliantAttribute(false)]
public ulong ByteLength { get; }
public:
[CLSCompliantAttribute(false)]
property unsigned long long ByteLength {
unsigned long long get();
}
[<CLSCompliantAttribute(false)>]
member ByteLength : uint64 with get
<CLSCompliantAttribute(False)>
Public ReadOnly Property ByteLength As ULong
Valor de propiedad
Type: System.UInt64
El número de bytes en el búfer de memoria.
Excepciones
Exception | Condition |
---|---|
InvalidOperationException | El Initialize no se ha llamado al método. |
Información de versión
Plataforma universal de Windows
Disponible desde 8
.NET Framework
Disponible desde 4.0
Biblioteca de clases portable
Se admite en: plataformas portátiles de .NET
Windows Phone
Disponible desde 8.1
Ver también
Clase SafeBuffer
Espacio de nombres System.Runtime.InteropServices
Volver al principio