BindableObject.IsSet(BindableProperty) メソッド

定義

バインド可能なプロパティが存在し、値が設定されているかどうかを判断します。

public:
 bool IsSet(Microsoft::Maui::Controls::BindableProperty ^ targetProperty);
public bool IsSet (Microsoft.Maui.Controls.BindableProperty targetProperty);
member this.IsSet : Microsoft.Maui.Controls.BindableProperty -> bool
Public Function IsSet (targetProperty As BindableProperty) As Boolean

パラメーター

targetProperty
BindableProperty

値が現在設定されている場合にチェックするバインド可能なプロパティ。

戻り値

ターゲット プロパティが存在し、設定されている場合、true。 それ以外の場合は false を返します。

例外

targetPropertynull の場合にスローされます。

適用対象