IAnimatedVisualSource.TryCreateAnimatedVisual(Compositor, Object) 方法

定义

尝试创建动画视觉对象。

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

参数

compositor
Compositor

动画视觉对象的合成器。

diagnostics
Object

Platform::Object

IInspectable

诊断有关尝试创建动画视觉对象的信息。

返回

可由其他对象使用的动画视觉对象。

适用于