CompositionDebugSettings.TryGetSettings(Compositor) Method

Definition

Attempts to get an instance of CompositionDebugSettings for the specified compositor.

public:
 static CompositionDebugSettings ^ TryGetSettings(Compositor ^ compositor);
 static CompositionDebugSettings TryGetSettings(Compositor const& compositor);
public static CompositionDebugSettings TryGetSettings(Compositor compositor);
function tryGetSettings(compositor)
Public Shared Function TryGetSettings (compositor As Compositor) As CompositionDebugSettings

Parameters

compositor
Compositor

The compositor to get debug settings for.

Returns

An instance of composition debug settings.

Remarks

A call to TryGetSettings will fail with an exception if developer mode is not enabled.

Applies to