In This Topic
Converts this instance to a read only typed buffer.
Syntax
'Declaration
Public Overloads Function ToArray(Of As {New, Struct})() As
public ToArray<>()
where T: new(), struct
Type Parameters
- T
- Type of a buffer element
Return Value
A readonly typed buffer.
Exceptions
Exception | Description |
System.InvalidOperationException | DataPointer is Zero |
See Also