Skip to main content

ServiceKnownTypeProvider.Register(Type) Method

Registers a custom parameter type.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public static void Register(
    Type type
)

Parameters

Name Type Description
type Type

A Type enumeration value.

Remarks

If a report employs parameters, they are automatically passed between the server and client if the parameters correspond to one of the following types: String, DateTime, Int32, Float, Double, or Decimal.

And, if parameters of other types are used, these types should be registered on both the server and client, using the Register method.

For more information, see Creating Custom Report Parameters.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Register(Type) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also