cset: Set a property value on a .NET object

Description Usage Arguments Examples

Description

This function sets the value of a property on previously created .NET object.

Usage

1
.cset(obj, propertyname, value)

Arguments

obj

Previously created .NET object

propertyname

name of the property to set

value

property value to set to

Examples

1
2
3
4
5
6
7
8
## Not run: 
obj <- .cnew ("com.stg.models.FastMFT")
obj$Set("Alpha", 0.90)
obj$Set("Gamma", 1e-4)

gamma <- obj$Get("Gamma")

## End(Not run)

rDotNet documentation built on May 2, 2019, 8:19 a.m.