public interface IConvertible extends IJCOBridgeReflected
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IConvertible
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: System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.IConvertible
|
| Modifier and Type | Method and Description |
|---|---|
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
|
TypeCode |
GetTypeCode() |
boolean |
ToBoolean(IFormatProvider provider) |
byte |
ToByte(IFormatProvider provider) |
char |
ToChar(IFormatProvider provider) |
DateTime |
ToDateTime(IFormatProvider provider) |
Decimal |
ToDecimal(IFormatProvider provider) |
double |
ToDouble(IFormatProvider provider) |
static IConvertible |
ToIConvertible(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IConvertible, a cast assert is made to check if types are compatible. |
short |
ToInt16(IFormatProvider provider) |
int |
ToInt32(IFormatProvider provider) |
long |
ToInt64(IFormatProvider provider) |
SByte |
ToSByte(IFormatProvider provider) |
Single |
ToSingle(IFormatProvider provider) |
java.lang.String |
ToString(IFormatProvider provider) |
NetObject |
ToType(NetType conversionType,
IFormatProvider provider) |
UInt16 |
ToUInt16(IFormatProvider provider) |
UInt32 |
ToUInt32(IFormatProvider provider) |
UInt64 |
ToUInt64(IFormatProvider provider) |
static final java.lang.String assemblyFullName
static final java.lang.String assemblyShortName
static final java.lang.String className
java.lang.String getJCOAssemblyName()
getJCOAssemblyName in interface IJCOBridgeReflectedString representing the Fullname of reflected Assemblyjava.lang.String getJCOClassName()
getJCOClassName in interface IJCOBridgeReflectedString representing the Fullname of reflected Classjava.lang.Object getJCOInstance()
getJCOInstance in interface IJCOBridgeReflectedObject representing the instance of the instantiated Classjava.lang.String getJCOObjectName()
getJCOObjectName in interface IJCOBridgeReflectedString representing the name used to allocated the object
in CLR contextJCType getJCOType()
getJCOType in interface IJCOBridgeReflectedJCType representing the Type of the instantiated ClassTypeCode GetTypeCode() throws java.lang.Throwable
java.lang.Throwableboolean ToBoolean(IFormatProvider provider) throws java.lang.Throwable
java.lang.Throwablebyte ToByte(IFormatProvider provider) throws java.lang.Throwable
java.lang.Throwablechar ToChar(IFormatProvider provider) throws java.lang.Throwable
java.lang.ThrowableDateTime ToDateTime(IFormatProvider provider) throws java.lang.Throwable
java.lang.ThrowableDecimal ToDecimal(IFormatProvider provider) throws java.lang.Throwable
java.lang.Throwabledouble ToDouble(IFormatProvider provider) throws java.lang.Throwable
java.lang.Throwablestatic IConvertible ToIConvertible(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IConvertible, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedIConvertible instancejava.lang.Throwable - in case of error during cast operationshort ToInt16(IFormatProvider provider) throws java.lang.Throwable
java.lang.Throwableint ToInt32(IFormatProvider provider) throws java.lang.Throwable
java.lang.Throwablelong ToInt64(IFormatProvider provider) throws java.lang.Throwable
java.lang.ThrowableSByte ToSByte(IFormatProvider provider) throws java.lang.Throwable
java.lang.ThrowableSingle ToSingle(IFormatProvider provider) throws java.lang.Throwable
java.lang.Throwablejava.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable
java.lang.ThrowableNetObject ToType(NetType conversionType, IFormatProvider provider) throws java.lang.Throwable
java.lang.ThrowableUInt16 ToUInt16(IFormatProvider provider) throws java.lang.Throwable
java.lang.ThrowableUInt32 ToUInt32(IFormatProvider provider) throws java.lang.Throwable
java.lang.ThrowableUInt64 ToUInt64(IFormatProvider provider) throws java.lang.Throwable
java.lang.Throwable