System.Runtime.InteropServices.GCHandle.Equals C# (CSharp) 메소드

Equals() 공개 메소드

public Equals ( Object o ) : bool
o Object
리턴 bool
        public override bool Equals(Object o)
        {
            GCHandle hnd;
            
            // Check that o is a GCHandle first
            if(o == null || !(o is GCHandle))
                return false;
            else 
                hnd = (GCHandle) o;

            return m_handle == hnd.m_handle;
        }