Keysight Pathwave 89600 VSA .NET API
CastToExtensionType Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > PowerSpectrumMeasurement Class : CastToExtensionType Method


extension
The object to be cast to the measurement extension type.

Glossary Item Box

This method casts the supplied object to the MeasurementExtension type. Some tools are unable to use the generic methods provided on Measurement class so this is provided as an alternative.

Syntax

Visual Basic (Declaration) 
Public Shared Function CastToExtensionType( _
   ByVal extension As Object _
) As PowerSpectrumMeasurement
C# 
public static PowerSpectrumMeasurement CastToExtensionType( 
   object extension
)
C++/CLI 
public:
static PowerSpectrumMeasurement^ CastToExtensionType( 
   Object^ extension
) 

Parameters

extension
The object to be cast to the measurement extension type.

Return Value

A correctly cast handle of type MeasurementExtension, or null if the cast failed.

Requirements

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

See Also