ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering Namespace / CustomReportItemExtension Class / GetCustomPropertyAsString Method
The custom report item.
The name of the custom property.

In This Topic
    GetCustomPropertyAsString Method
    In This Topic
    Gets the custom property value as a string.
    Syntax
    'Declaration
     
    Public Shared Function GetCustomPropertyAsString( _
       ByVal reportItem As CustomReportItem, _
       ByVal propertyName As String _
    ) As String
    public static string GetCustomPropertyAsString( 
       CustomReportItem reportItem,
       string propertyName
    )

    Parameters

    reportItem
    The custom report item.
    propertyName
    The name of the custom property.

    Return Value

    The custom property value as a string, or an empty string if the property does not exist.
    See Also