Share via


AppInstance.GetCurrent Method

Definition

Retrieves the current running instance of the app.

public:
 static AppInstance ^ GetCurrent();
/// [Windows.Foundation.Metadata.Experimental]
 static AppInstance GetCurrent();
 static AppInstance GetCurrent();
[Windows.Foundation.Metadata.Experimental]
public static AppInstance GetCurrent();
public static AppInstance GetCurrent();
function getCurrent()
Public Shared Function GetCurrent () As AppInstance

Returns

The current running instance of the app.

Attributes

Applies to