'Declaration
<CanBeNullAttribute()> Function GetService( _ ByVal serviceType As Type _ ) As Object
'Usage
Dim instance As _Widget Dim serviceType As Type Dim value As Object value = instance.GetService(serviceType)
[CanBeNull()] object GetService( Type serviceType )
[CanBeNull()] Object^ GetService( Type^ serviceType )
Parameters
- serviceType