共用方式為


ConstraintExpression.ProvideValue(IServiceProvider) 方法

定義

public:
 virtual Microsoft::Maui::Controls::Compatibility::Constraint ^ ProvideValue(IServiceProvider ^ serviceProvider);
public Microsoft.Maui.Controls.Compatibility.Constraint ProvideValue (IServiceProvider serviceProvider);
abstract member ProvideValue : IServiceProvider -> Microsoft.Maui.Controls.Compatibility.Constraint
override this.ProvideValue : IServiceProvider -> Microsoft.Maui.Controls.Compatibility.Constraint
Public Function ProvideValue (serviceProvider As IServiceProvider) As Constraint

參數

serviceProvider
IServiceProvider

傳回

實作

適用於