ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Rdl.Json.Mapper Namespace / CustomReportItemMappersExt Class / SetIfNotNullAndRemove Method
CustomPropertiesCollection
Name of property to search in the collection
Property setter

In This Topic
    SetIfNotNullAndRemove Method
    In This Topic
    Sets property using setter if there is in the collection GrapeCity.ActiveReports.PageReportModel.CustomPropertyDefinitionCollection and removes it from the collection. If there is no property with that name in a given collection, the collection will not be changed.
    Syntax
    'Declaration
     
    Public Shared Function SetIfNotNullAndRemove( _
       ByVal props As CustomPropertyDefinitionCollection, _
       ByVal name As String, _
       ByVal setter As Action(Of ExpressionInfo) _
    ) As CustomPropertyDefinitionCollection

    Parameters

    props
    CustomPropertiesCollection
    name
    Name of property to search in the collection
    setter
    Property setter
    See Also