KnowledgeMath.GetExpression() method
Gets a string that represents the expression of the function.
Namespace : ielib
Assembly : ielib.dll
public string GetExpression()Return valueType : System.string
A string that represents the expression of the function.
Example Calculate the power to squared cosine of 50.
KnowledgeMath Pow2 = new KnowledgeMath("Pow");
KnowledgeMath cosine = new KnowledgeMath("Cos");
Cosine.Arg1 = 50;
Pow2.Arg1 = Cosine;
Pow2.Arg2 = 2;
String expression = Pow2.GetExpression();
// expression will be : Pow(Cos(50),2)