Export (0) Print
Expand All

Application Properties

The properties of the Application class are listed here. For a complete list of Application class members, see the Application Members topic.

Public Properties

public propertystatic (Shared in Visual Basic)AllowQuit Gets a value indicating whether the caller can quit this application.
public propertystatic (Shared in Visual Basic)CommonAppDataPath Gets the path for the application data that is shared among all users.
public propertystatic (Shared in Visual Basic)CommonAppDataRegistry Gets the registry key for the application data that is shared among all users.
public propertystatic (Shared in Visual Basic)CompanyName Gets the company name associated with the application.
public propertystatic (Shared in Visual Basic)CurrentCulture Gets or sets the culture information for the current thread.
public propertystatic (Shared in Visual Basic)CurrentInputLanguage Gets or sets the current input language for the current thread.
public propertystatic (Shared in Visual Basic)ExecutablePath Gets the path for the executable file that started the application, including the executable name.
public propertystatic (Shared in Visual Basic)LocalUserAppDataPath Gets the path for the application data of a local, non-roaming user.
public propertystatic (Shared in Visual Basic)MessageLoop Gets a value indicating whether a message loop exists on this thread.
public propertystatic (Shared in Visual Basic)ProductName Gets the product name associated with this application.
public propertystatic (Shared in Visual Basic)ProductVersion Gets the product version associated with this application.
public propertystatic (Shared in Visual Basic)SafeTopLevelCaptionFormat Gets or sets the format string to apply to top-level window captions when they are displayed with a warning banner.
public propertystatic (Shared in Visual Basic)StartupPath Gets the path for the executable file that started the application, not including the executable name.
public propertystatic (Shared in Visual Basic)UserAppDataPath Gets the path for the application data of a user.
public propertystatic (Shared in Visual Basic)UserAppDataRegistry Gets the registry key for the application data of a user.

See Also

Application Class | System.Windows.Forms Namespace

Show:
© 2015 Microsoft