IMemoryBufferReference
IMemoryBufferReference
IMemoryBufferReference
IMemoryBufferReference
Interface
Definition
Represents a reference to an IMemoryBuffer object.
public : interface IMemoryBufferReferencepublic interface IMemoryBufferReferencePublic Interface IMemoryBufferReference// You can use this interface in JavaScript.
- Inheritance
-
IMemoryBufferReferenceIMemoryBufferReferenceIMemoryBufferReferenceIMemoryBufferReference
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
Remarks
The IMemoryBufferReference interface allows a client to retrieve the Capacity of the memory buffer. The same object identity must also implement the COM interface IMemoryBufferByteAccess. A client retrieves the IMemoryBufferByteAccess interface pointer via a QueryInterface from the IMemoryBufferReference object.
Properties
Capacity Capacity Capacity Capacity
Gets the size of the memory buffer in bytes.
public : unsigned int Capacity { get; }public uint Capacity { get; }Public ReadOnly Property Capacity As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The size of the memory buffer in bytes.
Events
Closed Closed Closed Closed
Occurs when MemoryBuffer.Close has been called and this IMemoryBufferReference has been closed.
public : abstract event TypedEventHandler Closed<IMemoryBufferReference, object>public abstract event TypedEventHandler Closed<IMemoryBufferReference, object>Public MustInherit Event Closed<IMemoryBufferReference, object>// You can use this event in JavaScript.
See Also
- IClosable IDisposable IDisposable IDisposable