Skip to main content
A newer version of this page is available. .
All docs
V21.1

DataComponentBase.GetService(Type) Method

Gets the service object of the specified type.

Namespace: DevExpress.DataAccess

Assembly: DevExpress.Data.v21.1.dll

NuGet Package: DevExpress.Data

Declaration

public object GetService(
    Type serviceType
)

Parameters

Name Type Description
serviceType Type

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

Returns

Type Description
Object

A service object of the specified type.

See Also