RCType
01 Syntax
SMRUCC.Rsharp.Runtime.Internal.Object.Converts.RCType
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| CTypeDynamic | 1 | If target type is Object, then this function will stop the narrowing conversion from vbObject wrapper to object type |
| castUnsure | 1 | Make ctype function cache at here based on the type assigned rule |
| GetCType | 1 | |
| AddCType | 1 | |
| CastToEnum | 1 | |
| NADefault | 1 | |
| IsNALiteralValue | 1 |
03 Members
If target type is Object, then this function will stop the narrowing conversion from vbObject wrapper to object type
Parameters
| Name | Type | Description |
|---|---|---|
obj | Object | - |
type | Type | Target data type to cast in R# runtime |
Returns
an error Message will be returns if the conversion error happends
Make ctype function cache at here based on the type assigned rule
Parameters
| Name | Type | Description |
|---|---|---|
obj | Object | - |
objType | Type | - |
type | Type | - |
env | Environment | - |
GetCType(
Type, Type)AddCType(
Type, Type, Func(Of Object, Object))NADefault(RType)
IsNALiteralValue(
Object)