| Visual Basic (Declaration) | |
|---|---|
Public Overloads MustOverride Function SetExtension(Of T As EventDataSourceExtension)() As T | |
| C# | |
|---|---|
public abstract T SetExtension<T>() where T: EventDataSourceExtension | |
| C++/CLI | |
|---|---|
public: abstract T^ SetExtensiongeneric<typename T> (); where T: EventDataSourceExtension | |
Type Parameters
- T
- The desired EventDataSourceExtension type.
Return Value
A correctly typed handle to the requested EventDataSourceExtension object. If the requested EventDataSourceExtension is not available, an exception is thrown. In this case, the previous EventDataSourceExtension is left unchanged.Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)