Share via


CompositionAnimation.SetBooleanParameter(String, Boolean) Method

Definition

Sets a boolean value parameter for use with an ExpressionAnimation or an expression keyframe.

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

Parameters

key
String

Platform::String

winrt::hstring

The name of the parameter to set.

value
Boolean

bool

The boolean value.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to