_Application3.Name Property

Definition

Gets the name of the InfoPath application.

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

Property Value

Implements

Examples

In the following example, the Alert(String) method of the UIObject object, accessed through the XDocument object is used to display a message box that indicates the name of the application:

thisXDocument.UI.Alert("Application name: " + thisApplication.<span class="label">Name</span>); thisXDocument.UI.Alert("Application name: " &amp; thisApplication.<span class="label">Name</span>)

Remarks

The name of the application does not contain the version number. To obtain the version number of an application, use the Version property.

Important: This member can be accessed without restrictions.

Applies to