Changes the current
Context to the indicated type (if necessary) and returns an appropriately typed handle to the extension object.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads MustOverride Function ChangeExtension(Of T As ContextExtension)() As T |
Type Parameters
- T
- The desired ContextExtension type.
Return Value
A correctly typed handle to the requested extension object. If the requested
ContextExtension type is not available, an exception is thrown. In this case, the previous
ContextExtension type is left unchanged.
Exceptions
Remarks
Requirements
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)
See Also