Jaa


IDebugObject2::CreateAlias

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

Creates a unique ID or alias for this object or returns an existing alias.

Syntax

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

Parameters

ppAlias
[out] The new (or existing) alias.

Return Value

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

Remarks

An alias is a label that represents a particular object while the object is in memory.

See also