Method GetLiveInstancesInfo
GetLiveInstancesInfo(TypeSet)
Gets information about live instances of the types specified by typeSet, at the time this MemoryUsage was retrieved.
Declaration
public InstancesInfo GetLiveInstancesInfo(TypeSet typeSet)
Parameters
| Type | Name | Description |
|---|---|---|
| TypeSet | typeSet | Specifies the types for which the live instances information should be retrieved. |
Returns
| Type | Description |
|---|---|
| InstancesInfo | Information about live instances at the time this MemoryUsage was retrieved. |
GetLiveInstancesInfo(Type, Boolean)
Gets information about live instances of the specified type at the time this MemoryUsage was retrieved.
Declaration
public InstancesInfo GetLiveInstancesInfo(Type type, bool includeSubClasses = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | type | Specifies the type for which the live instances information should be retrieved. |
| System.Boolean | includeSubClasses | Optional. Indicates whether instances of subclasses of the specified type should also be included. |
Returns
| Type | Description |
|---|---|
| InstancesInfo | Information about live instances at the time this MemoryUsage was retrieved. |
GetLiveInstancesInfo()
Gets information about live instances at the time this MemoryUsage was retrieved.
Declaration
public InstancesInfo GetLiveInstancesInfo()
Returns
| Type | Description |
|---|---|
| InstancesInfo | Information about live instances at the time this MemoryUsage was retrieved. |