GetReferenceIndex(object)
public int GetReferenceIndex(object value) Gets the index of the reference, or
-1 if the object has not been encountered before. Parameters
valueobject- The value.
Returns
The index of the reference, or
-1 if the object has not been encountered before.