IDebugObject2::GetAlias

Gets the alias associated with this object, if any.

Syntax

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 CreateAlias method.

See also