interface ICoreWebView2ExperimentalSensitivityLabel

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

Note

This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.

interface ICoreWebView2ExperimentalSensitivityLabel
  : public IUnknown

Interface for different sensitivity label kinds used in WebView2.

Summary

Members Descriptions
get_LabelKind Gets the type of the sensitivity label applied to the web content.

This interface provides functionality for accessing sensitivity label information applied to web content. Different label types (such as ICoreWebView2MipSensitivityLabel) provide specific label information and metadata.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease

Members

get_LabelKind

Gets the type of the sensitivity label applied to the web content.

public HRESULT get_LabelKind(COREWEBVIEW2_SENSITIVITY_LABEL_KIND * value)

This property identifies which sensitivity label system is being used (such as Microsoft Information Protection or other label providers). Applications can use this information to determine how to interpret and handle the label data, as different label types may have different metadata formats, protection requirements, and policy enforcement mechanisms.