CompositionPropertySet.InsertBoolean(String, Boolean) 方法

定義

插入布林索引鍵/值組。

public:
 virtual void InsertBoolean(Platform::String ^ propertyName, bool value) = InsertBoolean;
void InsertBoolean(winrt::hstring const& propertyName, bool const& value);
public void InsertBoolean(string propertyName, bool value);
function insertBoolean(propertyName, value)
Public Sub InsertBoolean (propertyName As String, value As Boolean)

參數

propertyName
String

Platform::String

winrt::hstring

與值相關聯的索引鍵。 此索引鍵可用來擷取值。

value
Boolean

bool

要插入的值。

適用於