Handle.isNull

Handle.isNull

wesbird
Collaborator Collaborator
538 Views
2 Replies
Message 1 of 3

Handle.isNull

wesbird
Collaborator
Collaborator
Hi,
I just found the Handle.isNull does not exposed in .NET. then how I can check if a handle == null?
Handle.ToString() == ""
or
Handle.ToString() == "0"
which one is correct ?



Thank you,
Wes
Windows 10 64 bit, AutoCAD (ACA, Map) 2023
0 Likes
539 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Handle.Value == 0

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

wrote in message news:[email protected]...
Hi,
I just found the Handle.isNull does not exposed in .NET. then how I can check if a handle == null?
Handle.ToString() == ""
or
Handle.ToString() == "0"
which one is correct ?



Thank you,
Wes
0 Likes
Message 3 of 3

wesbird
Collaborator
Collaborator
Thank you, I will try it.
Windows 10 64 bit, AutoCAD (ACA, Map) 2023
0 Likes