ApplicationId.Name Propriedade

Definição

Obtém o nome do aplicativo.Gets the name of the application.

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

Valor da propriedade

String

O nome do aplicativo.The name of the application.

Exemplos

O exemplo de código a seguir exibe a Name propriedade obtendo o ApplicationId de uma ApplicationSecurityInfo instância criada usando o ActivationContext para o aplicativo com base no manifesto em execução no momento.The following code example displays the Name property by obtaining the ApplicationId from an ApplicationSecurityInfo instance created using the ActivationContext for the currently executing manifest-based application. Este exemplo de código faz parte de um exemplo maior fornecido para a ApplicationId classe.This code example is part of a larger example provided for the ApplicationId class.

ApplicationSecurityInfo asi = new ApplicationSecurityInfo(AppDomain.CurrentDomain.ActivationContext);

Console.WriteLine("ApplicationId.Name property = " + asi.ApplicationId.Name);
Dim asi As New ApplicationSecurityInfo(AppDomain.CurrentDomain.ActivationContext)     
Console.WriteLine("ApplicationId.Name property = " + asi.ApplicationId.Name)

Comentários

Name é o nome simples e não criptografado do aplicativo.Name is the simple, unencrypted name of the application.

Aplica-se a