_Application2.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:
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>);
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.