OPC Studio User's Guide and Reference
OverrideServices Method



View with Navigation Tools
OpcLabs.BaseLibForms Assembly > OpcLabs.BaseLib.Forms Namespace > UserValueControl Class : OverrideServices Method
The provider that can be used to override the parent's services.

The value of this parameter cannot be null (Nothing in Visual Basic).

Overrides parent's services for the service scope provided by this control.
Syntax
'Declaration
 
Protected Overridable Sub OverrideServices( _
   ByVal overridingServiceProvider As OverridingServiceProvider _
) 
 
'Usage
 
Dim instance As UserValueControl
Dim overridingServiceProvider As OverridingServiceProvider
 
instance.OverrideServices(overridingServiceProvider)

Parameters

overridingServiceProvider
The provider that can be used to override the parent's services.

The value of this parameter cannot be null (Nothing in Visual Basic).

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