HolographicCameraRenderingParameters.IsContentProtectionEnabled Propriété

Définition

Obtient ou définit si l’application affiche du contenu protégé.

public:
 property bool IsContentProtectionEnabled { bool get(); void set(bool value); };
bool IsContentProtectionEnabled();

void IsContentProtectionEnabled(bool value);
public bool IsContentProtectionEnabled { get; set; }
var boolean = holographicCameraRenderingParameters.isContentProtectionEnabled;
holographicCameraRenderingParameters.isContentProtectionEnabled = boolean;
Public Property IsContentProtectionEnabled As Boolean

Valeur de propriété

Boolean

bool

Indique si la protection du contenu est activée.

Configuration requise pour Windows

Famille d’appareils
Windows 10 Fall Creators Update (introduit dans 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v5.0)

Remarques

Lorsque la protection du contenu est activée, le contenu rendu n’est visible que dans le casque, ce qui désactive la préversion du portail Mixed Reality.

Si IsHardwareContentProtectionEnabled a la valeur true, IsContentProtectionEnabled retourne toujours true.

S’applique à