libcURL.Opts.OptionInfo.Operator_Convert - charonn0/RB-libcURL GitHub Wiki
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