共用方式為


DynamicResourceExtension.IMarkupExtension<DynamicResource>.ProvideValue 方法

定義

 virtual Microsoft::Maui::Controls::Internals::DynamicResource ^ Microsoft.Maui.Controls.Xaml.IMarkupExtension<Microsoft.Maui.Controls.Internals.DynamicResource>.ProvideValue(IServiceProvider ^ serviceProvider) = Microsoft::Maui::Controls::Xaml::IMarkupExtension<Microsoft::Maui::Controls::Internals::DynamicResource ^>::ProvideValue;
Microsoft.Maui.Controls.Internals.DynamicResource IMarkupExtension<DynamicResource>.ProvideValue (IServiceProvider serviceProvider);
abstract member Microsoft.Maui.Controls.Xaml.IMarkupExtension<Microsoft.Maui.Controls.Internals.DynamicResource>.ProvideValue : IServiceProvider -> Microsoft.Maui.Controls.Internals.DynamicResource
override this.Microsoft.Maui.Controls.Xaml.IMarkupExtension<Microsoft.Maui.Controls.Internals.DynamicResource>.ProvideValue : IServiceProvider -> Microsoft.Maui.Controls.Internals.DynamicResource
Function ProvideValue (serviceProvider As IServiceProvider) As DynamicResource Implements IMarkupExtension(Of DynamicResource).ProvideValue

參數

serviceProvider
IServiceProvider

傳回

實作

適用於