Application.Name Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the InfoPath application.
public:
abstract property System::String ^ Name { System::String ^ get(); };
public abstract string Name { get; }
member this.Name : string
Public MustOverride ReadOnly Property Name As String
Property Value
The name of the InfoPath application.
Examples
In the following example, the Name property is used to display the name of the application.
string appName = this.Application.Name;
MessageBox.Show(appName);
Dim appName As String = Me.Application.Name
MessageBox.Show(appName)
Remarks
The name of the application does not contain the version number. To obtain the version number of an application, use the Version property.
This member can be accessed without restrictions.
This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.