You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting enum names is implemented by the function clrGetEnumNames().
For setting enum properties, there is R dummy code:
#' Sets the value of an enum field or property of an object or class
#'
#' @param objOrType a CLR object, or type name, possibly namespace and assembly qualified type name, e.g. 'My.Namespace.MyClass,MyAssemblyName'.
#' @param name the name of a field/property of the object
#' @param enumtype type name, possibly namespace and assembly qualified type name, e.g. 'My.Namespace.MyClass,MyAssemblyName'.
#' @param enumval the value to set the field with
#' @export
clrSetEnumProperty <- function(objOrType, name, enumtype, enumval) {
stop("Not yet implemented")
return(clrCallStatic(rNETenv$reflectionHelperTypeName, "SetEnumValue", objOrType, name, enumtype, enumval))
}
However, SetEnumValue is not implemented in .NET.
The text was updated successfully, but these errors were encountered:
Getting enum names is implemented by the function
clrGetEnumNames()
.For setting enum properties, there is R dummy code:
However,
SetEnumValue
is not implemented in .NET.The text was updated successfully, but these errors were encountered: