AppInstance.GetInstances Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the registered instances of the current app.
public:
static IVector<AppInstance ^> ^ GetInstances();
static IVector<AppInstance> GetInstances();
public static IList<AppInstance> GetInstances();
function getInstances()
Public Shared Function GetInstances () As IList(Of AppInstance)
Returns
A list of the registered instances of the current app.
Examples
This example gets a list of all the registered instances of the current app.
List<AppInstance> instances = AppInstance.GetInstances();
Remarks
To register an instance, see FindOrRegisterInstanceForKey.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor