QuickOPC User's Guide and Reference
HostElement Constructor(String)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Network Namespace > HostElement Class > HostElement Constructor : HostElement Constructor(String)
Name of the host.
Initializes a new instance of the class, given a host name.
Syntax
'Declaration
 
Public Function New( _
   ByVal hostName As String _
)
'Usage
 
Dim hostName As String
 
Dim instance As New HostElement(hostName)
public HostElement( 
   string hostName
)
public:
HostElement( 
   String^ hostName
)

Parameters

hostName
Name of the host.
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