A newer version of this page is available. Switch to the current version.

ReportViewBase.GetService(Type) Method

Gets the service object of the specified type.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v19.1.Reporting.dll


public virtual object GetService(
    Type serviceType


Name Type Description
serviceType Type

An object that specifies the type of service object to get.


Type Description

A service object of the specified type, or a null reference (Nothing in Visual Basic) if there is no service object of this type.


The GetService method uses the corresponding method of the print adapter to get the service. If the report has no Scheduler print adapter, the method returns null.

See Also