net11.0-windows10.0.22621
namespace System.Windows
{
    public sealed class DataObject : IDataObject, IDataObject, ITypedDataObject
    {
        public void SetDataAsJson<T>(T data);
    }
}
.NET
10.011.0
Information specific to net11.0
Platforms This API is only available when you target a specific platform:
Windows
10.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621
Information specific to net11.0-windows10.0.22621
Assembly

PresentationCore , Version=11.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs to set <UseWPF>True</UseWPF>.

Platform Restrictions

This API is only supported on the following platforms:

  • Windows
  • Built-in API
  • Package-provided API