Skip to content

libcURL.ListPtr.Operator_Convert

Andrew Lambert edited this page Nov 7, 2023 · 14 revisions

libcURL.ListPtr.Operator_Convert

Method Signatures

 Sub Operator_Convert(From() As String)
 Function Operator_Convert() As String()

Parameters

Name Type Comment
From String array An ordered array of strings

Return value

An ordered array of strings

Remarks

This method overloads the conversion operator(=), permitting implicit and explicit conversion to and from a string array and a ListPtr.

String elements are copied from the source to the destination. When converting from a string array the ListPtr will be emptied first.

Syntax example

 Dim lst As libcURL.ListPtr = Array("PWD", "CWD Foo", "DELE bar.bat")
 Dim contents() As String = lst

See also

Clone this wiki locally