Gets the service object of the specified type.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public object GetService(Type serviceType)

Parameters

NameTypeDescription
serviceTypeType

An object that specifies the System.Type of service object to get.

Returns

A service object of type serviceType  or null if there is no service object of type serviceType .