[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Tools.NameValueCollectionExtensions.ApplyTo

ApplyTo Method

ApplyTo<T>(NameValueCollection, T, bool, bool)

Applies settings from the NameValueCollection to the specified object.

Declaration
public static T ApplyTo<T>(this NameValueCollection settings, T target, bool setInnerSetting = false, bool suppressExceptions = true)
Parameters
Type Name Description
NameValueCollection settings

The NameValueCollection containing the settings.

T target

The object to apply the settings to.

bool setInnerSetting

Indicates whether to set inner settings.

bool suppressExceptions

Indicates whether to suppress exceptions.

Returns
Type Description
T

The target object with the applied settings.

Type Parameters
Name Description
T

The type of the target object.