CompositionDebugSettings.TryGetSettings(Compositor) 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 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
.