- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am using Visual Basic 2013, the Community edition with the Autocad.NET PLUG-IN Wizard installed.
I have been working with Lab2 of the Lessons from the Autodesk tutorial series found here: http://adndevblog.typepad.com/autocad/devtv/
I have been pondering the following Visual Basic statement:
Dim getWhichEntityOptions As PromptKeywordOptions = New PromptKeywordOptions("Which entity do you want? [Circle/Block:")
My understanding is this: the Dim statement is creating a new instance of the class PromptKeywodOPtions() and passing into it the character string of "Which entity do you want? [Circle/Block:]". The new class is also the data type of the variable getWhichEntityOptions as it is initialized as a character string. In summary the new instance of the class is Instantiated and the variable is initialized in the Dim statement, the PromptKeywordOptions() class does the work to prompt the user with specified text string and accept user input as "Circle" or "Block".
Can someone confirm if my above explanation is correct ?
Solved! Go to Solution.