Function class
The C++ Build Insights SDK is compatible with Visual Studio 2017 and later. To see the documentation for these versions, set the Visual Studio Version selector control for this article to Visual Studio 2017 or later. It's found at the top of the table of contents on this page.
The Function
class is used with the MatchEvent, MatchEventInMemberFunction, MatchEventStack, and MatchEventStackInMemberFunction functions. Use it to match a FUNCTION event.
Syntax
class Function : public Activity
{
public:
Function(const RawEvent& event);
const char* Name() const;
};
Members
Along with the inherited members from the Activity base class, the Function
class contains the following members:
Constructors
Functions
Function
Function(const RawEvent& event);
Parameters
event
A FUNCTION event.
Name
const char* Name() const;
Return Value
The name of the function, encoded in UTF-8.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for