.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Handle.isNull

2 REPLIES 2
Reply
Message 1 of 3
wesbird
168 Views, 2 Replies

Handle.isNull

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
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: wesbird

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:5311236@discussion.autodesk.com...
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
Message 3 of 3
wesbird
in reply to: wesbird

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost