'DeclarationPublic Function New( _ ByVal numericalValue As Integer _ )
public VarType( int numericalValue )
public: VarType( int numericalValue )
Parameters
- numericalValue
- Numerical VARTYPE to be converted.
'DeclarationPublic Function New( _ ByVal numericalValue As Integer _ )
public VarType( int numericalValue )
public: VarType( int numericalValue )
| Exception | Description |
|---|---|
| System.ArgumentOutOfRangeException | The value of an argument is outside the allowable range of values as defined by the invoked method. This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
In languages that support implicit conversions (such as C# or VB.NET), in many cases you do not have call this constructor explicitly. When indicated, a call to an available equivalent implicit conversion operator will be created by the compiler automatically.