Method icon.Detach Overload Clears this variable and returns its native icon handle. public nint Detach() Returns nint