Customizing Projects and Extending My with Visual Basic
You can customize project templates to provide additional My
objects. This makes it easy for other developers to find and use your objects.
In this section
- Extending the My Namespace in Visual Basic
Describes how to add custom members and values to theMy
namespace in Visual Basic. - Packaging and Deploying Custom My Extensions
Describes how to publish customMy
namespace extensions by using Visual Studio templates. - Extending the Visual Basic Application Model
Describes how to specify your own extensions to the application model by overriding members of the WindowsFormsApplicationBase class. - Customizing Which Objects are Available in My
Describes how to control whichMy
objects are enabled by setting your project's _MYTYPE conditional-compilation constant.
Related sections
- Development with My
Describes whichMy
objects are available in different project types by default. - Overview of the Visual Basic Application Model
Describes Visual Basic's model for controlling the behavior of Windows Forms applications. - How My Depends on Project Type
Describes whichMy
objects are available in different project types by default. - Conditional Compilation
Discusses how the compiler uses conditional-compilation to select particular sections of code to compile and exclude other sections. - ApplicationBase
Describes theMy
object that provides properties, methods, and events related to the current application.
See also
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про