共用方式為


ScreenCaptureDisabledBehavior 列舉

定義

public enum class ScreenCaptureDisabledBehavior
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
enum class ScreenCaptureDisabledBehavior
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
public enum ScreenCaptureDisabledBehavior
var value = Windows.UI.ViewManagement.ScreenCaptureDisabledBehavior.drawAsBlack
Public Enum ScreenCaptureDisabledBehavior
繼承
ScreenCaptureDisabledBehavior
屬性

Windows 需求

規格需求 Description
裝置系列
Windows 11 Insider Preview (已於 10.0.23504.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v15.0 引進)

欄位

名稱 Description
DrawAsBlack 0
ExcludeFromCapture 1

適用於