Share via


IAnimatedVisualSource.TryCreateAnimatedVisual(Compositor, Object) Method

Definition

Attempts to create an animated visual.

public:
 IAnimatedVisual ^ TryCreateAnimatedVisual(Compositor ^ compositor, [Out] Platform::Object ^ & diagnostics);
IAnimatedVisual TryCreateAnimatedVisual(Compositor const& compositor, [Out] IInspectable const& & diagnostics);
public IAnimatedVisual TryCreateAnimatedVisual(Compositor compositor, out object diagnostics);
Public Function TryCreateAnimatedVisual (compositor As Compositor, ByRef diagnostics As Object) As IAnimatedVisual

Parameters

compositor
Compositor

The compositor for the animated visual.

diagnostics
Object

Platform::Object

IInspectable

The diagnostics information about the attempt to create an animated visual.

Returns

An animated visual that can be used by other objects.

Applies to