Skip to content

libcURL.Info.InfoType.Operator_Convert

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

libcURL.Info.InfoType.Operator_Convert

Method Signatures

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

Parameters

Operator_Convert(Int32)

Name Type Comment
InfoID Int32 A literal infotype number.

Operator_Convert(String)

Name Type Comment
Name String The name or alias of an infotype.

Return value (when converting to Int32)

A literal infotype number.

Remarks

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

Syntax example

Dim info As libcURL.Info.InfoType = "EFFECTIVE_METHOD"
Dim number As Int32 = info
Clone this wiki locally