ElementHandlerExtensions.GetServiceProvider(IElementHandler) 方法

定义

public:
[System::Runtime::CompilerServices::Extension]
 static IServiceProvider ^ GetServiceProvider(Microsoft::Maui::IElementHandler ^ handler);
public static IServiceProvider GetServiceProvider (this Microsoft.Maui.IElementHandler handler);
static member GetServiceProvider : Microsoft.Maui.IElementHandler -> IServiceProvider
<Extension()>
Public Function GetServiceProvider (handler As IElementHandler) As IServiceProvider

参数

handler
IElementHandler

返回

适用于