Edytuj

Udostępnij za pośrednictwem


ApplicationIdentity.FullName Property

Definition

Gets the full name of the application.

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

Property Value

The full name of the application, also known as the display name.

Examples

The following code example demonstrates the use of an ApplicationIdentity object to obtain the value of the FullName property for a manifest-based application. This code example is part of a larger example provided for the ActivationContext class.

ActivationContext ac = AppDomain.CurrentDomain.ActivationContext;
ApplicationIdentity ai = ac.Identity;
Console.WriteLine("Full name = " + ai.FullName);
Console.WriteLine("Code base = " + ai.CodeBase);
Dim ac As ActivationContext = AppDomain.CurrentDomain.ActivationContext
Dim ai As ApplicationIdentity = ac.Identity
Console.WriteLine("Full name = " + ai.FullName)
Console.WriteLine("Code base = " + ai.CodeBase)

Remarks

For a description of the format of the FullName property, see the ApplicationIdentity constructor.

Applies to