public class IConvertibleImplementation extends NetObject implements IConvertible
.NET documentation at https://learn.microsoft.com/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=9.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
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
IConvertibleImplementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
TypeCode |
GetTypeCode()
Invokes the .NET member GetTypeCode.
|
boolean |
ToBoolean(IFormatProvider provider)
Invokes the .NET member ToBoolean.
|
byte |
ToByte(IFormatProvider provider)
Invokes the .NET member ToByte.
|
char |
ToChar(IFormatProvider provider)
Invokes the .NET member ToChar.
|
DateTime |
ToDateTime(IFormatProvider provider)
Invokes the .NET member ToDateTime.
|
Decimal |
ToDecimal(IFormatProvider provider)
Invokes the .NET member ToDecimal.
|
double |
ToDouble(IFormatProvider provider)
Invokes the .NET member ToDouble.
|
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)
Invokes the .NET member ToInt16.
|
int |
ToInt32(IFormatProvider provider)
Invokes the .NET member ToInt32.
|
long |
ToInt64(IFormatProvider provider)
Invokes the .NET member ToInt64.
|
SByte |
ToSByte(IFormatProvider provider)
Invokes the .NET member ToSByte.
|
Single |
ToSingle(IFormatProvider provider)
Invokes the .NET member ToSingle.
|
java.lang.String |
ToString(IFormatProvider provider)
Invokes the .NET member ToString.
|
NetObject |
ToType(NetType conversionType,
IFormatProvider provider)
Invokes the .NET member ToType.
|
UInt16 |
ToUInt16(IFormatProvider provider)
Invokes the .NET member ToUInt16.
|
UInt32 |
ToUInt32(IFormatProvider provider)
Invokes the .NET member ToUInt32.
|
UInt64 |
ToUInt64(IFormatProvider provider)
Invokes the .NET member ToUInt64.
|
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public IConvertibleImplementation(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IConvertiblegetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IConvertiblegetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IConvertiblegetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IConvertiblegetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in interface IConvertiblegetJCOType in class NetObjectpublic TypeCode GetTypeCode() throws java.lang.Throwable
GetTypeCode in interface IConvertiblejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean ToBoolean(IFormatProvider provider) throws java.lang.Throwable
ToBoolean in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte ToByte(IFormatProvider provider) throws java.lang.Throwable
ToByte in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic char ToChar(IFormatProvider provider) throws java.lang.Throwable
ToChar in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic DateTime ToDateTime(IFormatProvider provider) throws java.lang.Throwable
ToDateTime in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Decimal ToDecimal(IFormatProvider provider) throws java.lang.Throwable
ToDecimal in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic double ToDouble(IFormatProvider provider) throws java.lang.Throwable
ToDouble in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static IConvertible ToIConvertible(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IConvertible, a cast assert is made to check if types are compatible.ToIConvertible in interface IConvertiblefrom - IJCOBridgeReflected instance to be castedIConvertible instancejava.lang.Throwable - in case of error during cast operationpublic short ToInt16(IFormatProvider provider) throws java.lang.Throwable
ToInt16 in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int ToInt32(IFormatProvider provider) throws java.lang.Throwable
ToInt32 in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic long ToInt64(IFormatProvider provider) throws java.lang.Throwable
ToInt64 in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic SByte ToSByte(IFormatProvider provider) throws java.lang.Throwable
ToSByte in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single ToSingle(IFormatProvider provider) throws java.lang.Throwable
ToSingle in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable
ToString in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject ToType(NetType conversionType, IFormatProvider provider) throws java.lang.Throwable
ToType in interface IConvertibleconversionType - the argument of type NetTypeprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt16 ToUInt16(IFormatProvider provider) throws java.lang.Throwable
ToUInt16 in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt32 ToUInt32(IFormatProvider provider) throws java.lang.Throwable
ToUInt32 in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic UInt64 ToUInt64(IFormatProvider provider) throws java.lang.Throwable
ToUInt64 in interface IConvertibleprovider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLR