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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Connectivity Namespace > ConnectivityBase Class : GetService Method
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Overridable Shadows Function GetService( _
   ByVal serviceType As Type _
) As Object
'Usage
 
Dim instance As ConnectivityBase
Dim serviceType As Type
Dim value As Object
 
value = instance.GetService(serviceType)
[CanBeNull()]
public virtual new object GetService( 
   Type serviceType
)
[CanBeNull()]
public:
virtual new Object^ GetService( 
   Type^ serviceType
) 

Parameters

serviceType
Requirements

Target Platforms: .NET Framework: Windows 7 with SP1, Windows Server 2012; .NET Core: Linux, Microsoft Windows

See Also

Reference

ConnectivityBase Class
ConnectivityBase Members