Skip to content

libcURL.Opts.OptionInfo.Operator_Convert

Andrew Lambert edited this page Nov 26, 2022 · 4 revisions

libcURL.Opts.OptionInfo.Operator_Convert

Method Signatures

 Function Operator_Convert() As Int32
 Sub Operator_Convert(OptionID As Int32)
 Sub Operator_Convert(Name As String)

Parameters

Operator_Convert(Int32)

Name Type Comment
OptionID Int32 A literal option number.

Operator_Convert(String)

Name Type Comment
Name String The name or alias of an option number.

Return value (when converting to Int32)

A literal option number.

Remarks

These methods overload the conversion operator (=). Using them you can convert a number, name, or alias to a new instance of OptionInfo and back into a number again.

Syntax example

Dim opt As libcURL.Opts.OptionInfo = "COPYPOSTFIELDS"
Dim number As Int32 = opt
Clone this wiki locally