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