libcURL.Opts.OptionInfo.Operator_Compare - charonn0/RB-libcURL GitHub Wiki

libcURL.Opts.OptionInfo.Operator_Compare

Method Signature

 Function Operator_Compare(OtherOpt As libcURL.Opts.OptionInfo) As Integer

Parameters

Name Type Comment
OtherOpt OptionInfo The option to compare to Self.

Return value

Returns 0 if the options are the same, otherwise non-zero.

Remarks

Since the OptionInfo class automatically converts from an Int32, you can compare an instance of OptionInfo to a literal number using this method.