ActiveReports 15 .NET Edition
GrapeCity.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Rdl.Json.Mapper Namespace / CustomReportItemMappersExt Class / SetIfNotNull Method

In This Topic
    SetIfNotNull 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, the collection will not be changed.
    Syntax
    'Declaration
     
    Public Shared Function SetIfNotNull( _
       ByVal props As CustomPropertyDefinitionCollection, _
       ByVal name As String, _
       ByVal setter As Action(Of ExpressionInfo) _
    ) As CustomPropertyDefinitionCollection

    Parameters

    props
    name
    setter
    See Also