ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.Tools Namespace / NameValueCollectionExtensions Class / ApplyTo<T> Method
The type of the target object.
The System.Collections.Specialized.NameValueCollection containing the settings.
The object to apply the settings to.
Indicates whether to set inner settings.
Indicates whether to suppress exceptions.

In This Topic
    ApplyTo<T> Method
    In This Topic
    Applies settings from the System.Collections.Specialized.NameValueCollection to the specified object.
    Syntax
    'Declaration
     
    Public Shared Function ApplyTo(Of T)( _
       ByVal settings As NameValueCollection, _
       ByVal target As T, _
       Optional ByVal setInnerSetting As Boolean, _
       Optional ByVal suppressExceptions As Boolean _
    ) As T
    public static T ApplyTo<T>( 
       NameValueCollection settings,
       T target,
       bool setInnerSetting,
       bool suppressExceptions
    )

    Parameters

    settings
    The System.Collections.Specialized.NameValueCollection containing the settings.
    target
    The object to apply the settings to.
    setInnerSetting
    Indicates whether to set inner settings.
    suppressExceptions
    Indicates whether to suppress exceptions.

    Type Parameters

    T
    The type of the target object.

    Return Value

    The target object with the applied settings.
    See Also