EnvironmentVariable 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 EnvironmentVariable
class is used with the MatchEvent, MatchEventInMemberFunction, MatchEventStack, and MatchEventStackInMemberFunction functions. Use it to match an ENVIRONMENT_VARIABLE event.
Syntax
class EnvironmentVariable : public SimpleEvent
{
public:
EnvironmentVariable(const RawEvent& event);
const wchar_t* Name() const;
const wchar_t* Value() const;
};
Members
Along with the inherited members from its SimpleEvent base class, the EnvironmentVariable
class contains the following members:
Constructors
Functions
EnvironmentVariable
EnvironmentVariable(const RawEvent& event);
Parameters
event
An ENVIRONMENT_VARIABLE event.
Name
const wchar_t Name() const;
Return Value
The environment variable's name.
Value
const wchar_t Value() const;
Return Value
The environment variable's value.
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