'Declaration
<CanBeNullAttribute()> Function GetServiceByName( _ ByVal serviceTypeName As String _ ) As Object
'Usage
Dim instance As _Widget Dim serviceTypeName As String Dim value As Object value = instance.GetServiceByName(serviceTypeName)
[CanBeNull()] object GetServiceByName( string serviceTypeName )
[CanBeNull()] Object^ GetServiceByName( String^ serviceTypeName )
Parameters
- serviceTypeName
- The name of the type of service object to get.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
-or-
null
if there is no service object of given type.
This method can return null
(Nothing
in Visual Basic).