public class Conversion extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.VisualBasic.Conversion
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.VisualBasic.Core
|
static java.lang.String |
className
Qualified class name: Microsoft.VisualBasic.Conversion
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Conversion() |
Conversion(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Conversion |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Conversion, a cast assert is made to check if types are compatible. |
static NetObject |
CTypeDynamic(NetObject Expression,
NetType TargetType) |
static java.lang.String |
ErrorToString() |
static java.lang.String |
ErrorToString(int ErrorNumber) |
static Decimal |
Fix(Decimal Number) |
static double |
Fix(double Number) |
static int |
Fix(int Number) |
static long |
Fix(long Number) |
static NetObject |
Fix(NetObject Number) |
static short |
Fix(short Number) |
static Single |
Fix(Single Number) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static java.lang.String |
Hex(byte Number) |
static java.lang.String |
Hex(int Number) |
static java.lang.String |
Hex(long Number) |
static java.lang.String |
Hex(NetObject Number) |
static java.lang.String |
Hex(SByte Number) |
static java.lang.String |
Hex(short Number) |
static java.lang.String |
Hex(UInt16 Number) |
static java.lang.String |
Hex(UInt32 Number) |
static java.lang.String |
Hex(UInt64 Number) |
static Decimal |
Int(Decimal Number) |
static double |
Int(double Number) |
static int |
Int(int Number) |
static long |
Int(long Number) |
static NetObject |
Int(NetObject Number) |
static short |
Int(short Number) |
static Single |
Int(Single Number) |
static java.lang.String |
Oct(byte Number) |
static java.lang.String |
Oct(int Number) |
static java.lang.String |
Oct(long Number) |
static java.lang.String |
Oct(NetObject Number) |
static java.lang.String |
Oct(SByte Number) |
static java.lang.String |
Oct(short Number) |
static java.lang.String |
Oct(UInt16 Number) |
static java.lang.String |
Oct(UInt32 Number) |
static java.lang.String |
Oct(UInt64 Number) |
void |
setJCOInstance(JCObject instance) |
static java.lang.String |
Str(NetObject Number) |
static int |
Val(char Expression) |
static double |
Val(NetObject Expression) |
static double |
Val(java.lang.String InputStr) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Conversion()
throws java.lang.Throwable
java.lang.Throwablepublic Conversion(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Conversion cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Conversion, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedConversion instancejava.lang.Throwable - in case of error during cast operationpublic static NetObject CTypeDynamic(NetObject Expression, NetType TargetType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, ExternalException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, OverflowException, InvalidCastException, BadImageFormatException, NullReferenceException, MissingMemberException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionExternalExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionInvalidCastExceptionBadImageFormatExceptionNullReferenceExceptionMissingMemberExceptionpublic static java.lang.String ErrorToString()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
NotSupportedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentNullException,
OutOfMemoryException,
FormatException
public static java.lang.String ErrorToString(int ErrorNumber)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
ArrayTypeMismatchException
public static Decimal Fix(Decimal Number) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionpublic static double Fix(double Number)
throws java.lang.Throwable
java.lang.Throwablepublic static int Fix(int Number)
throws java.lang.Throwable
java.lang.Throwablepublic static long Fix(long Number)
throws java.lang.Throwable
java.lang.Throwablepublic static NetObject Fix(NetObject Number) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, FormatException, OverflowException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionInvalidCastExceptionpublic static short Fix(short Number)
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static java.lang.String Hex(byte Number)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
ArrayTypeMismatchException
public static java.lang.String Hex(int Number)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
FormatException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException
public static java.lang.String Hex(long Number)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
ArgumentNullException,
ArrayTypeMismatchException
public static java.lang.String Hex(NetObject Number) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, OverflowException, InvalidCastException, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchExceptionOverflowExceptionInvalidCastExceptionOutOfMemoryExceptionpublic static java.lang.String Hex(SByte Number) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, FormatException, ArgumentOutOfRangeException, ArrayTypeMismatchException
public static java.lang.String Hex(short Number)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
FormatException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException
public static java.lang.String Hex(UInt16 Number) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, ArrayTypeMismatchException
public static java.lang.String Hex(UInt32 Number) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, ArrayTypeMismatchException
public static java.lang.String Hex(UInt64 Number) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, ArrayTypeMismatchException
public static Decimal Int(Decimal Number) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
public static double Int(double Number)
throws java.lang.Throwable
java.lang.Throwablepublic static int Int(int Number)
throws java.lang.Throwable
java.lang.Throwablepublic static long Int(long Number)
throws java.lang.Throwable
java.lang.Throwablepublic static NetObject Int(NetObject Number) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, FormatException, OverflowException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionInvalidCastExceptionpublic static short Int(short Number)
throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String Oct(byte Number)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
IndexOutOfRangeException,
OverflowException,
OutOfMemoryException,
InvalidOperationException
public static java.lang.String Oct(int Number)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
IndexOutOfRangeException,
OverflowException,
OutOfMemoryException,
InvalidOperationException
public static java.lang.String Oct(long Number)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
IndexOutOfRangeException,
OverflowException,
OutOfMemoryException,
InvalidOperationException
public static java.lang.String Oct(NetObject Number) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OverflowException, IndexOutOfRangeException, FormatException, InvalidCastException, OutOfMemoryException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionIndexOutOfRangeExceptionFormatExceptionInvalidCastExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionpublic static java.lang.String Oct(SByte Number) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, OverflowException, OutOfMemoryException, InvalidOperationException
public static java.lang.String Oct(short Number)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
IndexOutOfRangeException,
OverflowException,
OutOfMemoryException,
InvalidOperationException
public static java.lang.String Oct(UInt16 Number) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, OverflowException, OutOfMemoryException, InvalidOperationException
public static java.lang.String Oct(UInt32 Number) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, OverflowException, OutOfMemoryException, InvalidOperationException
public static java.lang.String Oct(UInt64 Number) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, OverflowException, OutOfMemoryException, InvalidOperationException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static java.lang.String Str(NetObject Number) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, InvalidCastException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionInvalidCastExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionExternalExceptionOverflowExceptionpublic static int Val(char Expression)
throws java.lang.Throwable
java.lang.Throwablepublic static double Val(NetObject Expression) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, CultureNotFoundException, OverflowException, InvalidCastException
public static double Val(java.lang.String InputStr)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
ExternalException,
CultureNotFoundException,
OverflowException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionOverflowException