My Reference (Visual Basic)
The My
feature makes programming faster and easier by giving you intuitive access to commonly used methods, properties, and events. This table lists the objects contained in My
, and the actions that can be performed with each.
Action | Object |
---|---|
Accessing application information and services. | The My.Application object consists of the following classes:ApplicationBase provides members that are available in all projects. WindowsFormsApplicationBase provides members available in Windows Forms applications. ConsoleApplicationBase provides members available in console applications. |
Accessing the host computer and its resources, services, and data. | My.Computer (Computer) |
Accessing the forms in the current project. | My.Forms Object |
Accessing the application log. | My.Application.Log (Log) |
Accessing the current web request. | My.Request Object |
Accessing resource elements. | My.Resources Object |
Accessing the current web response. | My.Response Object |
Accessing user and application level settings. | My.Settings Object |
Accessing the current user's security context. | My.User (User) |
Accessing XML Web services referenced by the current project. | My.WebServices Object |
See also
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про