.NET

Reply
Distinguished Contributor
wesbird
Posts: 351
Registered: ‎12-05-2003
Message 1 of 3 (60 Views)

Handle.isNull

60 Views, 2 Replies
08-29-2006 11:13 AM
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
*Tony Tanzillo
Message 2 of 3 (60 Views)

Re: Handle.isNull

08-29-2006 02:46 PM 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
Distinguished Contributor
wesbird
Posts: 351
Registered: ‎12-05-2003
Message 3 of 3 (60 Views)

Re: Handle.isNull

08-30-2006 08:13 AM in reply to: wesbird
Thank you, I will try it.
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.