CDotNetObjectEquals
- Updated2023-02-21
- 1 minute(s) read
int CDotNetObjectEquals (CDotNetHandle object1, CDotNetHandle object2, int *equal, CDotNetHandle *exception);
Purpose
Calls the .NET System.Object.Equals method to compare two .NET objects.
Parameters
| Input | ||
| Name | Type | Description |
| object1 | CDotNetHandle | The handle of one of the .NET objects to compare. |
| object2 | CDotNetHandle | The handle of one of the .NET objects to compare. |
| Output | ||
| Name | Type | Description |
| equal | int | The result of the System.Object.Equals method. If the objects are not equal, the output value is zero. If the objects are equal, the output value is nonzero. |
| exception | CDotNetHandle | The handle to an exception thrown by .NET. If .NET throws an exception, you can pass this handle to CDotNetGetExceptionInfo to get information from the exception object. You can pass NULL for this parameter. |
Return Value
| Name | Type | Description |
| status | int | A value indicating whether an error occurred. Negative error codes indicate function failure. Error codes are defined in cvi\include\cvidotnet.h. You can use CDotNetGetErrorDescription to get the description of an error code. |
Additional Information
Library: .NET Library
Include file: cvidotnet.h
LabWindows/CVI compatibility: LabWindows/CVI 8.0 and later