[]
Gets or sets a string of code available to the report for use as a custom functions.
public string Code { get; set; }
Type | Description |
---|---|
string | A string value containing the custom functions. |
The custom functions contained in the string must be instance methods written in Visual Basic.NET syntax.
See the "Custom Code" topic in the User Guide for more information.
Report report = new Report();
report.Code = "Public Function CustomFunction() As String Return \"Hello\" End Function";