Method GetAllocationsInfo
GetAllocationsInfo(TypeSet)
Gets information about allocations of the types specified by typeSet.
Declaration
public AllocationsInfo GetAllocationsInfo(TypeSet typeSet)Parameters
| Type | Name | Description | 
|---|---|---|
| TypeSet | typeSet | Specifies the types for which the allocations information should be retrieved. | 
Returns
| Type | Description | 
|---|---|
| AllocationsInfo | Information about allocations performed between two snapshots. | 
GetAllocationsInfo(Type, Boolean)
Gets information about allocations of the type specified by type and optionally of all its subclasses.
Declaration
public AllocationsInfo GetAllocationsInfo(Type type, bool includeSubClasses = false)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type | type | Specifies the type for which the allocations information should be retrieved. | 
| System.Boolean | includeSubClasses | Optional. Indicates whether allocations of subclasses of the specified type should also be included. | 
Returns
| Type | Description | 
|---|---|
| AllocationsInfo | Information about allocations performed between two snapshots. | 
GetAllocationsInfo()
Gets information about all allocations performed between two snapshots.
Declaration
public AllocationsInfo GetAllocationsInfo()Returns
| Type | Description | 
|---|---|
| AllocationsInfo | Information about allocations performed between two snapshots. |