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

Saving Handle long value

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
466 Views, 1 Reply

Saving Handle long value

The Handle object has a value property which is of type long. Is it ok to use this value to save/reterive Handles on disk? As, on websites, I have seen people use Handle.ToString() to save the handle and then a Convert.ToInt64 to reterive it back.

 

I suppose they are the same.

Tags (1)
1 REPLY 1
Message 2 of 2
FRFR1426
in reply to: Anonymous

Yes, you're right. The hexadecimal version is only a convenient way for storing this handle in an human readable way.

 

An handle is a 64-bit integer starting at 1.

Maxence DELANNOY
Manager
Add-ins development for Autodesk software products
http://wiip.fr

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report