XamlDirect.SetBooleanProperty 方法

定義

設定特定IXamlDirectObject布林值。

public:
 virtual void SetBooleanProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, bool value) = SetBooleanProperty;
void SetBooleanProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, bool const& value);
public void SetBooleanProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, bool value);
function setBooleanProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetBooleanProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Boolean)

參數

xamlDirectObject
IXamlDirectObject

特定 IXamlDirectObject的參考。

propertyIndex
XamlPropertyIndex

布林值屬性的參考,可從XamlPropertyIndex列舉中支援的屬性清單中設定 的值。

value
Boolean

bool

要為指定屬性設定的布林值。

適用於

另請參閱