Gets the pointer to the `System.RuntimeType` of a `NetObject` object or a .NET type name.
Source:R/utilities-type.R
getType.Rd
Returns a `NetObject` object with external pointer to the object of type `System.RuntimeType` that represents the type of the .NET object. To get a string representation of the type, call `toStringNET` on the returned object.
Examples
testClassName <- "ClrFacade.TestObject"
type <- getType(testClassName)
toStringNET(type)
#> [1] "ClrFacade.TestObject"
testObj <- newObjectFromName(testClassName)
type <- getType(testObj)
toStringNET(type)
#> [1] "ClrFacade.TestObject"