Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dfd7c33

Browse files
authored
simplified return value (dotnet#2021)
* simplified return value * feedback
1 parent 89afcec commit dfd7c33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/Microsoft.VisualBasic/Interaction.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw")
13311331
<param name="Wait">Optional. <see langword="Boolean" />. A value indicating whether the <see langword="Shell" /> function should wait for completion of the program. If <paramref name="Wait" /> is omitted, <see langword="Shell" /> uses <see langword="False" />.</param>
13321332
<param name="Timeout">Optional. <see langword="Integer" />. The number of milliseconds to wait for completion if <paramref name="Wait" /> is <see langword="True" />. If <paramref name="Timeout" /> is omitted, <see langword="Shell" /> uses -1, which means there is no timeout and <see langword="Shell" /> does not return until the program finishes. Therefore, if you omit <paramref name="Timeout" /> or set it to -1, it is possible that <see langword="Shell" /> might never return control to your program.</param>
13331333
<summary>Runs an executable program and returns an integer containing the program's process ID if it is still running.</summary>
1334-
<returns>Runs an executable program and returns an integer containing the program's process ID if it is still running.</returns>
1334+
<returns>An integer containing the program's process ID if it is still running. 0 if the program already finished executing.</returns>
13351335
<remarks>
13361336
<format type="text/markdown"><![CDATA[
13371337
@@ -1467,4 +1467,4 @@ ID = Shell("""C:\Program Files\display.exe"" -a -q", , True, 100000)
14671467
</Docs>
14681468
</Member>
14691469
</Members>
1470-
</Type>
1470+
</Type>

0 commit comments

Comments
 (0)