QuickOPC User's Guide and Reference
AsResourceAddress Method (_ResourceAddress)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Networking.ComTypes Namespace > _ResourceAddress Interface : AsResourceAddress Method
The current network address expressed as resource address.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Function AsResourceAddress() As ResourceAddress
'Usage
 
Dim instance As _ResourceAddress
Dim value As ResourceAddress
 
value = instance.AsResourceAddress()
[CanBeNull()]
ResourceAddress AsResourceAddress()
[CanBeNull()]
ResourceAddress^ AsResourceAddress(); 
Remarks

Returns null if the current network address is not a resource address.

This method has been introduced primarily for languages like PHP that do not allow down-casting.

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