My.Application.Info.Trademark Property

Gets the trademark notice associated with the application.

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

Property Value

A String containing the trademark notice associated with the application.

Exceptions

The following condition can cause an exception:

Remarks

The My.Application.Info.Trademark property gets the trademark notice associated with the application.

You can change the trademark notice by changing the value for Trademark 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#).

Example

This example uses the My.Application.Info.Trademark property to display the trademark information associated with the application.

MsgBox("Application trademark: " & My.Application.Info.Trademark)

Requirements

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

Permissions

No permissions are required.

See Also

Tasks

How to: Specify Assembly Information (Visual Basic, C#)

Reference

My.Application.Info Object

AssemblyInfo.Trademark