Visual Basic (Declaration) | |
---|---|
Public MustOverride Function GetExtension(Of T As EventActionExtension)() As T |
C# | |
---|---|
public abstract T GetExtension<T>() where T: EventActionExtension |
C++/CLI | |
---|---|
public: abstract T^ GetExtensiongeneric<typename T> (); where T: EventActionExtension |
Type Parameters
- T
- The type to which to cast the returned EventActionExtension.
Return Value
The current EventActionExtension cast to the requested type, or null if the current EventActionExtension is not of the requested type.Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)