Changes the current measurement to the indicated type (if necessary) and returns a handle to the extension object.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads MustOverride Function SetMeasurementExtension( _
ByVal measurementType As Type _
) As Object |
Parameters
- measurementType
- The desired measurement type.
Return Value
A handle to the requested extension object. If the requested measurement type is not available, an exception is thrown. In this case, the previous measurement type is left unchanged.
Requirements
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)
See Also