OPC Studio User's Guide and Reference
Equals(Object,List<String>) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > Object2 Class > Equals Method : Equals(Object,List<String>) Method
Determines whether the specified System.Object is equal to the current object, and returns a list with annotations to the equality comparison process.
Syntax
'Declaration
 
Public Overloads Function Equals( _
   ByVal obj As Object, _
   ByRef annotationList As List(Of String) _
) As Boolean
'Usage
 
Dim instance As Object2
Dim obj As Object
Dim annotationList As List(Of String)
Dim value As Boolean
 
value = instance.Equals(obj, annotationList)
public bool Equals( 
   object obj,
   out List<string> annotationList
)
public:
bool Equals( 
   Object^ obj,
   [Out] List<String^>^ annotationList
) 

Parameters

obj
annotationList
Exceptions
ExceptionDescription
The EqualsAnnotationList is not null, i.e. the annotation is already in progress.
Remarks

When the two objects are not equal, the annotationList determines which element has caused the inequality.

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