Share via


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, or null (see Remarks).

Remarks

If developer mode is not enabled, a call to TryGetSettings returns null.

Applies to