Share via


IDebugObject2::GetAlias

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

IDebugObject2
IDebugAlias