ArcFM Engine Developer Guide
Equals(DeviceInfo) Method


Device to compare
Compares two devices for equality
Syntax
'Declaration
 
Public Overloads Function Equals( _
   ByVal obj As DeviceInfo _
) As Boolean
'Usage
 
Dim instance As DeviceInfo
Dim obj As DeviceInfo
Dim value As Boolean
 
value = instance.Equals(obj)
public bool Equals( 
   DeviceInfo obj
)

Parameters

obj
Device to compare

Return Value

true if both devices are considered the same.false otherwise
Remarks
The algorithm starts by comparing FCID and OID. If those are equal, it then compares EID. If either of the two devices have unknown EID (0 currently), we ignore the EID. If we still have not found differences, we then examine the SubID. Here both 0 and -1 are currently valid representation of null and considered equal.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

DeviceInfo Class
DeviceInfo Members
Overload List

 

 


Send Comment