D
David
hi, I have a question.
I have a method written by ASP, and I need to convert to c# asp.net:
[ASP]
call method1 ( 32 or 2 )
this method's parameter is using the bitwise Or operator.
but when I convert to c#:
[c#]
method1 ( 32 | 2 );
I got this error msg after compelie:
Cannot covert 'int' to 'SdfComponentToolkit.SdfOpenFlags'
SdfComponentToolkit is a Map tools, made by Autodesk.
Thanks, David.
I have a method written by ASP, and I need to convert to c# asp.net:
[ASP]
call method1 ( 32 or 2 )
this method's parameter is using the bitwise Or operator.
but when I convert to c#:
[c#]
method1 ( 32 | 2 );
I got this error msg after compelie:
Cannot covert 'int' to 'SdfComponentToolkit.SdfOpenFlags'
SdfComponentToolkit is a Map tools, made by Autodesk.
Thanks, David.