共用方式為


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

傳回

適用於