Dela via


ImplicitAnimationCollection.Insert(String, ICompositionAnimationBase) Method

Definition

Inserts an animation into the collection.

public:
 virtual bool Insert(Platform::String ^ key, ICompositionAnimationBase ^ value) = IMap<Platform::String ^, ICompositionAnimationBase ^>::Insert;
bool Insert(winrt::hstring const& key, ICompositionAnimationBase const& value);
public bool Insert(string key, ICompositionAnimationBase value);
function insert(key, value)
Public Function Insert (key As String, value As ICompositionAnimationBase) As Boolean

Parameters

key
String

Platform::String

winrt::hstring

The property the animation affects.

value
ICompositionAnimationBase

The animation to insert.

Returns

Boolean

bool

Boolean value indicating whether the animation was successfully inserted.

Implements

Applies to