Supersource GetInverse
Posted: Sun Mar 26, 2017 2:22 am
I have just implemented Supersource capability in c# but have one small issue.
GetInverse says "Argument 1 must be passed with the 'ref' keyword". SDK doesn't specify this (7.0.2). Every other get works fine using "out". Why does this one require "ref".
public int Inverse
{
get
{
superSource.GetInverse(out _inverse); //-- red error under _inverse
return _inverse;
}
set
{
superSource.SetInverse(value);
}
}
GetInverse says "Argument 1 must be passed with the 'ref' keyword". SDK doesn't specify this (7.0.2). Every other get works fine using "out". Why does this one require "ref".
public int Inverse
{
get
{
superSource.GetInverse(out _inverse); //-- red error under _inverse
return _inverse;
}
set
{
superSource.SetInverse(value);
}
}