OPC Studio User's Guide and Reference
MemberwiseClone Method (UADiscoveryQuery)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UADiscoveryQuery Class : MemberwiseClone Method
Creates a new object that is a memberwise copy of the current instance.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shadows Function MemberwiseClone() As UADiscoveryQuery
'Usage
 
Dim instance As UADiscoveryQuery
Dim value As UADiscoveryQuery
 
value = instance.MemberwiseClone()
[NotNull()]
public new UADiscoveryQuery MemberwiseClone()
[NotNull()]
public:
new UADiscoveryQuery^ MemberwiseClone(); 

Return Value

A new object that is a memberwise copy of this instance.

This method never returns 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