IDebugObject2::GetAlias

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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