Returns the current
ContextExtension cast to the requested type.
Syntax
Visual Basic (Declaration) | |
---|
Public MustOverride Function GetExtension(Of T As ContextExtension)() As T |
Type Parameters
- T
- The type to which to cast the returned extension.
Return Value
The current
ContextExtension cast to the requested type, or null if the current extension is not of the requested type.
Requirements
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)
See Also