Export (0) Print
Expand All

My.Application.Info.Copyright Property

Gets the copyright notice associated with the application.

' Usage
Dim value As String = My.Application.Info.Copyright
' Declaration
Public ReadOnly Property Copyright As String

A String containing the copyright notice associated with the application.

The following condition can cause an exception:

The My.Application.Info.CompanyName property gets the copyright notice associated with the application.

You can change the copyright notice by changing the value for Copyright in the Assembly Information dialog box, accessible from the Application pane of the Project Designer. For more information, see How to: Specify Assembly Information (Visual Basic, C#).

This example uses the My.Application.Info.CompanyName property to display the company name associated with the application.

MsgBox("Application copyright: " & My.Application.Info.Copyright)

Namespace: Microsoft.VisualBasic.ApplicationServices

Class: AssemblyInfo

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)

Availability by Project Type

Project type

Available

Windows Application

Yes

Class Library

Yes

Console Application

Yes

Windows Control Library

Yes

Web Control Library

No

Windows Service

Yes

Web Site

No

No permissions are required.

Community Additions

ADD
Show:
© 2014 Microsoft