| SbNativeArrayTToArray Method (Int32, Int32) | 
            Copy elements in this instance to an array of type element type.
            
 
Namespace: OIV.Inventor.GenericAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.2.0.Release.47655112efc68a70bb943ee3bd5c1e27763923ef
Syntaxpublic T[] ToArray(
	int offset,
	int count
)
Public Function ToArray ( 
	offset As Integer,
	count As Integer
) As T()
public:
array<T>^ ToArray(
	int offset, 
	int count
)
member ToArray : 
        offset : int * 
        count : int -> 'T[] 
Parameters
- offset
 - Type: SystemInt32
The zero-based offset in buffer at which to begin copying the element read from the current stream. - count
 - Type: SystemInt32
Number of elements to copy 
Return Value
Type: 
TAn array of elements of type 
T. If this instance is empty, the returned array is empty and has a zero length. 
Exceptions| Exception | Condition | 
|---|
| ArgumentOutOfRangeException | The offset parameter is less than zero.
            - or - 
            The count parameter is less than zero.
             | 
| InvalidOperationException | The stream has been instanciated using a managed array.
            Use the GetBuffer method to get a reference on managed array used by the stream. | 
| ArgumentException | The length of the buffer array minus the offset parameter is less than the count parameter.
             | 
See Also