PROFILER_HEAP_OBJECT_RELATIONSHIP, structurePROFILER_HEAP_OBJECT_RELATIONSHIP Structure

Représente une relation entre un objet de segment de mémoire.Represents a relationship of a heap object.

SyntaxeSyntax

typedef struct _PROFILER_HEAP_OBJECT_RELATIONSHIP{    PROFILER_HEAP_OBJECT_NAME_ID relationshipId;    PROFILER_RELATIONSHIP_INFO relationshipInfo;    [switch_type(PROFILER_RELATIONSHIP_INFO), switch_is(relationshipInfo)] union    {        [case(PROFILER_PROPERTY_TYPE_NUMBER)] double numberValue;        [case(PROFILER_PROPERTY_TYPE_STRING)] LPCWSTR stringValue;        [case(PROFILER_PROPERTY_TYPE_HEAP_OBJECT)] PROFILER_HEAP_OBJECT_ID objectId;        [case(PROFILER_PROPERTY_TYPE_EXTERNAL_OBJECT)] PROFILER_EXTERNAL_OBJECT_ADDRESS externalObjectAddress;    };} PROFILER_HEAP_OBJECT_RELATIONSHIP;  

MembresMembers

MembreMember ValeurValue DescriptionDescription
relationshipIdrelationshipId Type PROFILER_HEAP_OBJECT_NAME_IDPROFILER_HEAP_OBJECT_NAME_ID Type L’ID de la relation de nom, à partir de IActiveScriptProfilerHeapEnum::GetNameIdMap.The ID of the relationship name, from IActiveScriptProfilerHeapEnum::GetNameIdMap.
relationshipInforelationshipInfo Énumération PROFILER_RELATIONSHIP_INFOPROFILER_RELATIONSHIP_INFO Enumeration Informations sur la relation.Information about the relationship.
numberValuenumberValue doubledouble La valeur du numéro.The number value. Seul l’un des numberValue / stringValue / objectId / externalObjectAddress est définie, selon la relationshipInfo valeur.Only one of numberValue/stringValue/objectId/externalObjectAddress is set, based on the relationshipInfo value.
StringValuestringValue LPCWSTRLPCWSTR Valeur de chaîne.The string value.
objectIdobjectId Type PROFILER_HEAP_OBJECT_IDPROFILER_HEAP_OBJECT_ID Type L’ID de l’objet de segment de mémoire.The ID of the heap object.
externalObjectAddressexternalObjectAddress Type PROFILER_EXTERNAL_OBJECT_ADDRESSPROFILER_EXTERNAL_OBJECT_ADDRESS Type L’adresse de l’objet externe.The external object address.
Sous-chaînesubString Structure PROFILER_PROPERTY_TYPE_SUBSTRING_INFOPROFILER_PROPERTY_TYPE_SUBSTRING_INFO Structure Informations sur le type de la sous-chaîne.The information about the substring type.