File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,13 @@ public static class DataFormats
3838 #region Public Methods
3939
4040 /// <summary>
41- /// Gets an object with the Windows Clipboard numeric
42- /// ID and name for the specified ID.
41+ /// Gets the data format with the Windows Clipboard numeric ID and name for the specified ID.
4342 /// </summary>
4443 public static DataFormat GetDataFormat ( int id ) => InternalGetDataFormat ( id ) ;
4544
4645 /// <summary>
4746 /// Gets the data format with the Windows Clipboard numeric ID and name for the specified data format.
4847 /// </summary>
49- /// <remarks>
50- /// Callers must have UnmanagedCode permission to call this API.
51- /// </remarks>
5248 public static DataFormat GetDataFormat ( string format )
5349 {
5450 ArgumentNullException . ThrowIfNull ( format ) ;
@@ -380,7 +376,7 @@ private static void EnsurePredefined()
380376
381377 // This is the format to store trust boundary information. Essentially this is accompalished by storing
382378 // the permission set of the source application where the content comes from. During paste we compare this to
383- // the permissio set of the target application.
379+ // the permission set of the target application.
384380 int applicationTrustFormatId = UnsafeNativeMethods . RegisterClipboardFormat ( DataFormats . ApplicationTrust ) ;
385381 if ( applicationTrustFormatId != 0 )
386382 _formatList . Add ( new ( ApplicationTrust , applicationTrustFormatId ) ) ;
You can’t perform that action at this time.
0 commit comments