Keysight Pathwave 89600 VSA .NET API
SetCondition(Type) Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Keysight.SA.Vsa Namespace > EventRule Class > SetCondition Method : SetCondition(Type) Method


conditionType
The desired EventCondition type.

Glossary Item Box

Changes the current EventCondition to the indicated type (if necessary) and returns a handle to the EventCondition object. Obsolete. Use SetExtension(Type) instead.

Syntax

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.

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also