Share via


AppInstance.IsCurrent Property

Definition

Gets a value that indicates whether this AppInstance object represents the current instance of the app or a different instance.

public:
 property bool IsCurrent { bool get(); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
bool IsCurrent();
bool IsCurrent();
[Windows.Foundation.Metadata.Experimental]
public bool IsCurrent { [Windows.Foundation.Metadata.Experimental] get; }
public bool IsCurrent { get; }
var boolean = appInstance.isCurrent;
Public ReadOnly Property IsCurrent As Boolean

Property Value

Boolean

bool

true indicates that this AppInstance object represents the current instance of the app; false indicates it represents a different instance.

Attributes

Applies to