@@ -12,7 +12,7 @@ Imports System.Runtime.InteropServices
12
12
Namespace Microsoft.VisualBasic.MyServices
13
13
14
14
''' <summary>
15
- ''' A class that wraps System.Windows.Forms. Clipboard so that
15
+ ''' A class that wraps <see cref=" Clipboard"/> so that
16
16
''' a clipboard can be instanced.
17
17
''' </summary>
18
18
<EditorBrowsable(EditorBrowsableState.Never)>
@@ -25,22 +25,23 @@ Namespace Microsoft.VisualBasic.MyServices
25
25
End Sub
26
26
27
27
''' <summary>
28
- ''' Removes everything from the clipboard .
28
+ ''' Removes everything from the <see cref="Clipboard"/> .
29
29
''' </summary>
30
30
Public Sub Clear()
31
31
Clipboard.Clear()
32
32
End Sub
33
33
34
34
''' <summary>
35
- ''' Indicates whether or not there's an audio stream saved to the clipboard .
35
+ ''' Indicates whether or not there's an audio stream saved to the <see cref="Clipboard"/> .
36
36
''' </summary>
37
37
''' <returns><see langword="True"/> if an audio stream is available, otherwise <see langword="False"/>.</returns>
38
38
Public Function ContainsAudio() As Boolean
39
39
Return Clipboard.ContainsAudio()
40
40
End Function
41
41
42
42
''' <summary>
43
- ''' Indicates whether or not there is data on the clipboard in the passed in format.
43
+ ''' Indicates whether or not there is data on the <see cref="Clipboard"/> in the passed in format.
44
+ ''' or can be converted to that format.
44
45
''' </summary>
45
46
''' <param name="format"></param>
46
47
''' <returns><see langword="True"/> if there's data in the passed in format, otherwise <see langword="False"/>.</returns>
@@ -57,23 +58,23 @@ Namespace Microsoft.VisualBasic.MyServices
57
58
End Function
58
59
59
60
''' <summary>
60
- ''' Indicate whether or not an image has been saved to the clipboard .
61
+ ''' Indicate whether or not an image has been saved to the <see cref="Clipboard"/> .
61
62
''' </summary>
62
63
''' <returns><see langword="True"/> if an image is available, otherwise <see langword="False"/>.</returns>
63
64
Public Function ContainsImage() As Boolean
64
65
Return Clipboard.ContainsImage()
65
66
End Function
66
67
67
68
''' <summary>
68
- ''' Indicates whether or not text is available on the clipboard .
69
+ ''' Indicates whether or not text is available on the <see cref="Clipboard"/> .
69
70
''' </summary>
70
71
''' <returns><see langword="True"/> if text is available, otherwise <see langword="False"/>.</returns>
71
72
Public Function ContainsText() As Boolean
72
73
Return Clipboard.ContainsText
73
74
End Function
74
75
75
76
''' <summary>
76
- ''' Indicates whether or not text is available on the clipboard in
77
+ ''' Indicates whether or not text is available on the <see cref="Clipboard"/> in
77
78
''' the passed in format.
78
79
''' </summary>
79
80
''' <param name="format">The type of text being checked for.</param>
@@ -83,15 +84,15 @@ Namespace Microsoft.VisualBasic.MyServices
83
84
End Function
84
85
85
86
''' <summary>
86
- ''' Gets an audio stream from the clipboard .
87
+ ''' Gets an audio stream from the <see cref="Clipboard"/> .
87
88
''' </summary>
88
- ''' <returns>The audio stream as a Stream.</returns>
89
+ ''' <returns>The audio stream as a <see cref=" Stream"/> .</returns>
89
90
Public Function GetAudioStream() As Stream
90
91
Return Clipboard.GetAudioStream()
91
92
End Function
92
93
93
94
''' <summary>
94
- ''' Gets data from the clipboard that's been saved in the passed in format.
95
+ ''' Gets data from the <see cref="Clipboard"/> that's been saved in the passed in format.
95
96
''' </summary>
96
97
''' <param name="format">The type of data being sought.</param>
97
98
''' <returns>The data.</returns>
@@ -125,15 +126,15 @@ Namespace Microsoft.VisualBasic.MyServices
125
126
End Function
126
127
127
128
''' <summary>
128
- ''' Gets an Image from the clipboard .
129
+ ''' Retrieves an <see cref=" Image"/> from the <see cref="Clipboard"/> .
129
130
''' </summary>
130
131
''' <returns>The image.</returns>
131
132
Public Function GetImage() As Image
132
133
Return Clipboard.GetImage()
133
134
End Function
134
135
135
136
''' <summary>
136
- ''' Gets text from the clipboard .
137
+ ''' Gets text from the <see cref="Clipboard"/> .
137
138
''' </summary>
138
139
''' <returns>The text as a String.</returns>
139
140
Public Function GetText() As String
@@ -150,23 +151,23 @@ Namespace Microsoft.VisualBasic.MyServices
150
151
End Function
151
152
152
153
''' <summary>
153
- ''' Saves the passed in audio byte array to the clipboard .
154
+ ''' Saves the passed in audio byte array to the <see cref="Clipboard"/> .
154
155
''' </summary>
155
156
''' <param name="audioBytes">The byte array to be saved.</param>
156
157
Public Sub SetAudio(audioBytes As Byte ())
157
158
Clipboard.SetAudio(audioBytes)
158
159
End Sub
159
160
160
161
''' <summary>
161
- ''' Saves the passed in audio stream to the clipboard .
162
+ ''' Saves the passed in audio stream to the <see cref="Clipboard"/> .
162
163
''' </summary>
163
- ''' <param name="audioStream">The stream to be saved.</param>
164
+ ''' <param name="audioStream">The <see cref="Stream"/> to be saved.</param>
164
165
Public Sub SetAudio(audioStream As Stream)
165
166
Clipboard.SetAudio(audioStream)
166
167
End Sub
167
168
168
169
''' <summary>
169
- ''' Saves the passed in data to the clipboard in the passed in format.
170
+ ''' Saves the passed in data to the <see cref="Clipboard"/> in the passed in format.
170
171
''' </summary>
171
172
''' <param name="format">The format in which to save the data.</param>
172
173
''' <param name="data">The data to be saved.</param>
@@ -185,7 +186,7 @@ Namespace Microsoft.VisualBasic.MyServices
185
186
End Sub
186
187
187
188
''' <summary>
188
- ''' Saves the passed in file drop list to the clipboard .
189
+ ''' Saves the passed in file drop list to the <see cref="Clipboard"/> .
189
190
''' </summary>
190
191
''' <param name="filePaths">The file drop list as a <see cref="StringCollection"/>.</param>
191
192
Public Sub SetFileDropList(filePaths As StringCollection)
0 commit comments