Share via


_Application3.Name - Propriété

Obtient le nom de l'application InfoPath.

Espace de noms :  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly :  Microsoft.Office.Interop.InfoPath.SemiTrust (dans Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntaxe

'Déclaration
ReadOnly Property Name As String
    Get
'Utilisation
Dim instance As _Application3
Dim value As String

value = instance.Name
string Name { get; }

Valeur de propriété

Type : System.String

Implémentations

_Application2.Name
_Application.Name

Remarques

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

Important

Vous pouvez accéder à ce membre sans restrictions.

Exemples

Dans l'exemple suivant, la méthode Alert de l'objet UIObject, accessible via l'objet XDocument, est utilisée pour afficher une boîte de message indiquant le nom de l'application :

thisXDocument.UI.Alert("Application name: " + thisApplication.Name);
thisXDocument.UI.Alert("Application name: " & thisApplication.Name)

Voir aussi

Référence

_Application3 interface

_Application3 - Membres

Name - Surcharge

Microsoft.Office.Interop.InfoPath.SemiTrust - Espace de noms