共用方式為


StyleSheetExtension.IValueProvider.ProvideValue(IServiceProvider) 方法

定義

 virtual System::Object ^ Microsoft.Maui.Controls.Xaml.IValueProvider.ProvideValue(IServiceProvider ^ serviceProvider) = Microsoft::Maui::Controls::Xaml::IValueProvider::ProvideValue;
object IValueProvider.ProvideValue (IServiceProvider serviceProvider);
abstract member Microsoft.Maui.Controls.Xaml.IValueProvider.ProvideValue : IServiceProvider -> obj
override this.Microsoft.Maui.Controls.Xaml.IValueProvider.ProvideValue : IServiceProvider -> obj
Function ProvideValue (serviceProvider As IServiceProvider) As Object Implements IValueProvider.ProvideValue

參數

serviceProvider
IServiceProvider

傳回

實作

適用於