Share via


IDebugObject2::GetAlias

Gets the alias associated with this object, if any.

HRESULT GetAlias(
   IDebugAlias** ppAlias
);
int GetAlias(
   out IDebugAlias ppAlias
);

Parameters

  • ppAlias
    [out] Returns an IDebugAlias object representing the alias for this object; otherwise, returns a null value.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

An alias for an object is created with a call to the IDebugObject2::CreateAlias method.

See Also

Reference

IDebugObject2

IDebugAlias