| Visual Basic (Declaration) | |
|---|---|
Public Overloads MustOverride Function SetCondition( _ ByVal conditionType As Type _ ) As Object | |
| C# | |
|---|---|
public abstract object SetCondition( Type conditionType ) | |
| C++/CLI | |
|---|---|
public: abstract Object^ SetCondition( Type^ conditionType ) | |
Parameters
- conditionType
- The desired EventCondition type.
Return Value
A handle to the requested EventCondition object. If the requested EventCondition type is not available, an exception is thrown. In this case, the previous EventCondition type is left unchanged.Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)