NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

LocalToken.Equals

Checks if the given object is an instance of LocalToken and is equal to this instance.

[Visual Basic]
Overrides Public Function Equals( _
   ByVal obj As Object _
) As Boolean
[C#]
public override bool Equals(
   object obj
);
[C++]
public: override bool Equals(
   Object* obj
);
[JScript]
public override function Equals(
   obj : Object
) : Boolean;

Parameters

obj
The object to compare to this object..

Return Value

Value Condition
true obj is a LocalToken instance and equals the current instance.
false Otherwise .

Remarks

Two LocalToken objects are equal if they have the same index and represent local variables that have the same type. The index of the LocalToken is assigned by the MethodBuilder that declared it

See Also

LocalToken Structure | LocalToken Members | System.Reflection.Emit Namespace