Condividi tramite


IDebugFunctionObject:: CreateObjectNoConstructor

crea un oggetto senza il costruttore.

HRESULT CreateObjectNoConstructor( 
   IDebugField*   pClassObject,
   IDebugObject** ppObject
);
int CreateObjectNoConstructor(
   IDebugField      pClassField, 
   out IDebugObject ppObject
);

Parametri

  • pClassObject
    [in] IDebugField Un oggetto che rappresenta il tipo di oggetto da creare.

  • ppObject
    [out] Restituisce IDebugObject una rappresentazione dell'oggetto appena creato.

Valore restituito

Se l'operazione riesce, restituisce S_OK, in caso contrario, restituisce un codice di errore.

Note

Chiamare questo metodo per creare un oggetto che rappresenta un'istanza di una struttura o di un tipo complesso (che non richiede un costruttore) che sia un parametro alla funzione che è rappresentata IDebugFunctionObject dall'interfaccia.

Se il parametro dell'oggetto richiede un costruttore, chiamare IDebugFunctionObject:: CreateObject il metodo.

Vedere anche

Riferimenti

IDebugField

IDebugFunctionObject

IDebugFunctionObject:: CreateObject