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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel Namespace > OperationResult Class : MemberwiseClone Method
Creates a new object that is a memberwise copy of the current instance.
Syntax
'Declaration
 
Public Shadows Function MemberwiseClone() As OperationResult
'Usage
 
Dim instance As OperationResult
Dim value As OperationResult
 
value = instance.MemberwiseClone()
public new OperationResult MemberwiseClone()
public:
new OperationResult^ MemberwiseClone(); 

Return Value

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

This method never returns null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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