Skip to content

Latest commit

 

History

History
35 lines (33 loc) · 2.61 KB

File metadata and controls

35 lines (33 loc) · 2.61 KB
title My Reference (Visual Basic)
ms.date 07/20/2015
ms.prod .net
ms.suite
ms.technology
devlang-visual-basic
ms.topic article
helpviewer_keywords
My feature
My reference
ms.assetid 6f803bd7-21ff-4569-b1fe-b00a6678b1e3
caps.latest.revision 15
author dotnet-bot
ms.author dotnetcontent

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:

xref:Microsoft.VisualBasic.ApplicationServices.ApplicationBase provides members that are available in all projects.

xref:Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase provides members available in Windows Forms applications.

xref:Microsoft.VisualBasic.ApplicationServices.ConsoleApplicationBase provides members available in console applications.
Accessing the host computer and its resources, services, and data. My.Computer (xref:Microsoft.VisualBasic.Devices.Computer)
Accessing the forms in the current project. My.Forms Object
Accessing the application log. My.Application.Log (xref:Microsoft.VisualBasic.ApplicationServices.ApplicationBase.Log%2A)
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 (xref:Microsoft.VisualBasic.ApplicationServices.User)
Accessing XML Web services referenced by the current project. My.WebServices Object

See Also

Overview of the Visual Basic Application Model
Development with My