次の方法で共有


IDebugEvent2::GetAttributes

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 attributes for this debug event.

Syntax

HRESULT GetAttribute( 
   DWORD* pdwAttrib
);
int GetAttribute( 
   out uint pdwAttrib
);

Parameters

pdwAttrib
[out] A combination of flags from the EVENTATTRIBUTES enumeration.

Return Value

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

Remarks

The IDebugEvent2 interface is common to all events. This method describes the type of event; for example, is the event synchronous or asynchronous and is it a stopping event.

See also