共用方式為


IAnimatedVisualSource3.TryCreateAnimatedVisual 方法

定義

嘗試建立動畫視覺效果。

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

參數

compositor
Compositor

動畫視覺效果的撰寫器。

diagnostics
Object

Platform::Object

IInspectable

關於嘗試建立動畫視覺效果的診斷資訊。

createAnimations
Boolean

bool

true 建立動畫;否則為 false

傳回

其他物件可以使用的動畫視覺效果。

適用於