Commit 7e0341d
Fix clipboard GetData documentation to reflect NotSupportedException instead of null (#2150)
* Initial plan
* Fix clipboard GetData comments to reflect NotSupportedException instead of null
Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>
* Change null check to type check for Person in ObsoleteGetDataExample
Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>
* Use DirectCast instead of CType for Person type in VB example
Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: adegeo <67293991+adegeo@users.noreply.github.com>1 parent 6d91a1d commit 7e0341d
File tree
2 files changed
+7
-8
lines changed- dotnet-desktop-guide/winforms/migration/snippets/clipboard-dataobject-net10/net
- csharp
- vb
2 files changed
+7
-8
lines changedLines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments