Introducing My

The My namespace provides shortcuts for accessing several common objects in .NET development. Basically My exposes classes that wrap existing built-in objects and reoffers them under an easier to use fashion. By using My, you can access lots of development areas generally writing less code than you would if you used usual techniques. At a higher level My exposes the following members:

My.Application, a property exposing members that allows access to other properties of the current application

My.Computer, a property exposing members that provides shortcuts to common operations with your machine, such as the file system or the Registry

My.Settings, a property that provides code support for the Settings tab in My Project ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.