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.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for