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