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.