.NET

Reply
*Jorge Jimenez
Message 1 of 3 (273 Views)

commandmethod

273 Views, 2 Replies
11-06-2005 11:42 PM
How come I only get "Autodesk.AutoCAD.Runtime.CommandMethodAttribute"
instead of getting "Autodesk.AutoCAD.Runtime.CommandMethod"
I can´t find CommandMethod

I'm using ACAD2006 and NetFramework 2.0

--
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica
*Jorge Jimenez
Message 2 of 3 (273 Views)

Re: commandmethod

11-06-2005 11:47 PM in reply to: *Jorge Jimenez
BTW, this started to happen after I upgraded the framework from 1.1 to 2.0

--
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica


"Jorge Jimenez" wrote in message
news:5005301@discussion.autodesk.com...
How come I only get "Autodesk.AutoCAD.Runtime.CommandMethodAttribute"
instead of getting "Autodesk.AutoCAD.Runtime.CommandMethod"
I can´t find CommandMethod

I'm using ACAD2006 and NetFramework 2.0

--
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica
Valued Contributor
smcclure
Posts: 60
Registered: ‎06-08-2006
Message 3 of 3 (273 Views)

Re: commandmethod

07-11-2006 11:48 AM in reply to: *Jorge Jimenez
CommandMethodAttribute and CommandMethod are one and the same. .NET naming standards dictate that attributes have "Attribute" at the end of the name. While this is not required, if the attribute type name ends in "Attribute", the compiler will allow you to type the attribute name without the "Attribute" at the end. For example, I could do either when defining an attribute in VB .NET or

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community