QuickOPC User's Guide and Reference
ToArray Method (ElasticVector)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections Namespace > ElasticVector Class : ToArray Method
Obtains the underlying array object of the elastic vector.
Syntax
'Declaration
 
<ElementsCanBeNullAttribute()>
Public Function ToArray() As Object()
'Usage
 
Dim instance As ElasticVector
Dim value() As Object
 
value = instance.ToArray()
[ElementsCanBeNull()]
public object[] ToArray()
[ElementsCanBeNull()]
public:
array<Object^>^ ToArray(); 

Return Value

Returns the array object currently used by the elastic vector to store its elements. The array has the same lower and upper bounds as the elastic vector.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also