You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <summary>/// Retrieves data from the <see cref="Clipboard"/> in the specified format./// </summary>/// <exception cref="ThreadStateException">/// The current thread is not in single-threaded apartment (STA) mode./// </exception>[Obsolete(Obsoletions.ClipboardGetDataMessage,error:false,DiagnosticId=Obsoletions.ClipboardGetDataDiagnosticId,UrlFormat=Obsoletions.SharedUrlFormat)]publicstaticobject?GetData(stringformat)=>string.IsNullOrWhiteSpace(format)?null:GetData(format,autoConvert:false);
The text was updated successfully, but these errors were encountered:
#10544 exposes the new APIs but does not obsolete the GetData* APIs.
See WinForms obsoletions here https://github.com/dotnet/winforms/blob/89978450ea81fbaffb3e41ab3a2e131aba22e09f/src/System.Windows.Forms/System/Windows/Forms/OLE/Clipboard.cs#L135-L147 and here https://github.com/dotnet/winforms/blob/89978450ea81fbaffb3e41ab3a2e131aba22e09f/src/System.Windows.Forms/System/Windows/Forms/OLE/DataObject.cs#L108-L127.
The text was updated successfully, but these errors were encountered: