AnimatedGlobalNavigationButtonVisualSource.TryCreateAnimatedVisual Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to create an instance of an AnimatedGlobalNavigationButtonVisualSource
object for an AnimatedIcon.
public:
virtual IAnimatedVisual ^ TryCreateAnimatedVisual(Compositor ^ compositor, [Out] Platform::Object ^ & diagnostics) = TryCreateAnimatedVisual;
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 used to create objects for the animated visual.
- diagnostics
-
Object
Platform::Object
IInspectable
Diagnostics information about the IAnimatedVisualSource result. The type and contents of the object depend on the IAnimatedVisualSource implementation.
This parameter is optional.
Returns
An IAnimatedVisual, or null
.