IDataObject
GetData(String)
GetData(Type)
GetData(String, Boolean)
GetDataPresent(String)
GetDataPresent(Type)
GetDataPresent(String, Boolean)
GetFormats()
GetFormats(Boolean)
SetData(Object)
SetData(String, Object)
SetData(Type, Object)
SetData(String, Object, Boolean)
TryGetData<T>(IDataObject, T)
TryGetData<T>(IDataObject, String, T)
TryGetData<T>(IDataObject, String, Boolean, T)
TryGetData<T>(IDataObject, String, Func<TypeName, Type>, Boolean, T)
net10.0-windows10.0.22621
namespace System.Windows
{
public static class DataObjectExtensions
{
public static bool TryGetData<T>(this IDataObject dataObject, string format, [MaybeNullWhen(false), NotNullWhen(true)] out T data);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net10.0-windows10.0.22621 | |
| Assembly | PresentationCore , Version=10.0.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs to set |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API