Partager via


Application.Name Propriété

Définition

Obtient le nom de l'application InfoPath.

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

Valeur de propriété

Nom de l'application InfoPath.

Exemples

Dans l'exemple ci-dessous, la propriété Name est utilisée pour afficher le nom de l'application.

string appName = this.Application.Name;
MessageBox.Show(appName);
Dim appName As String = Me.Application.Name
MessageBox.Show(appName)

Remarques

Le nom de l'application ne contient pas le numéro de version. Pour obtenir le numéro de version d’une application, utilisez la Version propriété .

Vous pouvez accéder à ce membre sans restrictions.

Vous pouvez accéder à ce type ou à ce membre à partir du code exécuté dans les formulaires ouverts dans Microsoft InfoPath Filler ou dans un navigateur web.

S’applique à