Share via


IDebugProperty3::DestroyObjectID

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

Destroys the unique ID associated with this property, indicating that the caller no longer cares to identify this property uniquely from all other properties.

Syntax

HRESULT DestroyObjectID(
   void
);
int DestroyObjectID();

Return Value

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

Remarks

If the debug engine doesn't need to support unique IDs for a property (because it already tracks them uniquely internally), then it can simply return E_NOTIMPL for this method.

Unique IDs are created with a call to the CreateObjectID method when the caller wants to make sure that this property is uniquely identified among all other properties.

See also