Share via


Report.Code Property

Definitions for custom functions to be used in expressions within the report. Custom functions must be instance methods. If a function OnInit() is defined within code, it is called during parameter, report, and page header/footer initialization. The function must be defined as Protected and Overrides.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Property Code As String
    Get
    Set
'Usage
Dim instance As Report
Dim value As String

value = instance.Code

instance.Code = value
public string Code { get; set; }
public:
property String^ Code {
    String^ get ();
    void set (String^ value);
}
member Code : string with get, set
function get Code () : String
function set Code (value : String)

Property Value

Type: System.String
A string value.