ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Rdl.Json.Mapper Namespace / CustomReportItemMappersExt Class / AddIfNotNullOrEmpty Method

In This Topic
    AddIfNotNullOrEmpty Method
    In This Topic
    Changes given collection GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinitionCollection by setting a property with a given name to a given value If there is no property with that name in a given collection or its value is empty, the collection will not be changed.
    Syntax
    'Declaration
     
    Public Shared Function AddIfNotNullOrEmpty( _
       ByVal props As CustomPropertyDefinitionCollection, _
       ByVal name As String, _
       ByVal value As GrapeCity.Enterprise.Data.Expressions.ExpressionInfo _
    ) As CustomPropertyDefinitionCollection
    public static CustomPropertyDefinitionCollection AddIfNotNullOrEmpty( 
       CustomPropertyDefinitionCollection props,
       string name,
       GrapeCity.Enterprise.Data.Expressions.ExpressionInfo value
    )

    Parameters

    props
    name
    value
    See Also