QuickOPC User's Guide and Reference
GetService Method (_Widget)



View with Navigation Tools
OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Widgets.ComTypes Namespace > _Widget Interface : GetService Method
Syntax
'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)

Parameters

serviceType
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also