The type wrapper for .NET type to R# language runtime
RType
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetRawElementType | 1 | gets the array element type from current r# type RType.raw |
| populateNames | 1 | RType.getNames() |
| getNames | 1 | Get method names and property names of target type object instance |
| GetRSharpType | 1 | Get VB.NET clr type to R# type wrapper RType |
| GetType | 3 | Convert the type information model to R# type |
| TypeOf | 2 | |
| op_Explicit | 1 | Enable conversion from R# type data to CLR type information |
| op_Like | 2 | does type can be convert to the baseType? |
| GetUnderlyingType | 1 | |
| ToString | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| fullName | 1 | the raw CLR Type.FullName |
| name | 1 | the raw CLR type name |
| mode | 1 | The mapped R# data type |
| isPrimitive | 1 | is R# runtime type? |
| isGenericListObject | 1 | Is dictionary of string and value types? |
| raw | 1 | based .NET CLR type |
| haveDynamicsProperty | 1 | implements interface of IDynamicsObject? |
| isEnvironment | 1 | is an Environment object? |
| integers | 1 | include single element and array element, example as: integer, integer() |
| logicals | 1 | boolean and boolean() |
| list | 1 | R tuple list/JSON object |
| any | 1 | mapping to the clr Object type. |
| closure | 1 | R runtime function |
| is_any | 1 | check of current type information is clr Object type? |
| isArray | 1 | |
| isCollection | 1 | |
| getCount | 1 | |
| getItem | 1 | |
| is_numeric | 1 | |
| character | 1 |
04 Members
gets the array element type from current r# type RType.raw
Get method names and property names of target type object instance
Type)Get VB.NET clr type to R# type wrapper RType
| Name | Type | Description |
|---|---|---|
type | Type | - |
TypeCode)create RType based on the .NET clr TypeCode enumeration value
| Name | Type | Description |
|---|---|---|
code | TypeCode | - |
| Name | Type | Description |
|---|---|---|
code | TypeCodes | - |
TypeInfo, GlobalEnvironment)Convert the type information model to R# type
| Name | Type | Description |
|---|---|---|
type | TypeInfo | - |
Object)get R# type value of the given VB.NET object value
| Name | Type | Description |
|---|---|---|
x | Object | - |
对于在R#语言之中的基础类型,例如vector,list等,这个 函数会返回元素基础类型值:RsharpDataObject.elementType.
Enable conversion from R# type data to CLR type information
| Name | Type | Description |
|---|---|---|
type | RType | - |
Type)RType.raw type is given target type?
| Name | Type | Description |
|---|---|---|
rtype | RType | - |
type | Type | - |
does type can be convert to the baseType?
the raw CLR Type.FullName
the raw CLR type name
The mapped R# data type
is R# runtime type?
Is dictionary of string and value types?
based .NET CLR type
implements interface of IDynamicsObject?
is an Environment object?
include single element and array element, example as:
integer, integer()
boolean and boolean()
R tuple list/JSON object
mapping to the clr Object type.
R runtime function
check of current type information is clr Object type?
Type)