Changes the current measurement to the indicated type (if necessary) and returns an appropriately typed handle to the extension object.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads MustOverride Function SetMeasurementExtension(Of T As MeasurementExtension)() As T |
Type Parameters
- T
- The desired measurement type.
Return Value
A correctly typed 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