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
Copy file name to clipboardExpand all lines: xml/System.Runtime.InteropServices.Swift/SwiftSelf`1.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
</Attribute>
36
36
</Attributes>
37
37
<Docs>
38
-
<typeparamname="T">To be added.</typeparam>
38
+
<typeparamname="T">The type of the frozen struct to pass in the 'self' context.</typeparam>
39
39
<summary>Represents the Swift 'self' context when the argument is Swift frozen struct T, which is either enregistered into multiple registers, or passed by reference in the 'self' register.</summary>
40
40
<remarks>
41
41
<para> This struct is used to pass the Swift frozen struct T to Swift functions in the context of interop with .NET.
<typeparamname="TAlternateKey">To be added.</typeparam>
184
-
<paramname="dictionary">To be added.</param>
185
-
<paramname="key">To be added.</param>
186
-
<paramname="exists">To be added.</param>
187
-
<summary>To be added.</summary>
188
-
<returns>To be added.</returns>
189
-
<remarks>To be added.</remarks>
181
+
<typeparamname="TKey">The type of the keys in the dictionary.</typeparam>
182
+
<typeparamname="TValue">The type of the values in the dictionary.</typeparam>
183
+
<typeparamname="TAlternateKey">The type of the alternate key in the dictionary lookup.</typeparam>
184
+
<paramname="dictionary">The dictionary to get the ref to <typeparamrefname="TValue"/> from.</param>
185
+
<paramname="key">The key used for lookup.</param>
186
+
<paramname="exists">Whether or not a new entry for the given key was added to the dictionary.</param>
187
+
<summary>Gets a ref to a <typeparamrefname="TValue"/> in the <seecref="T:System.Collections.Generic.Dictionary`2.AlternateLookup`1"/>, adding a new entry with a default value if it does not exist in the <paramrefname="dictionary"/>.</summary>
188
+
<returns>A reference to a <typeparamrefname="TValue" /> in the specified <seecref="T:System.Collections.Generic.Dictionary`2.AlternateLookup`1"/>.</returns>
189
+
<remarks>Items should not be added to or removed from the <seecref="T:System.Collections.Generic.Dictionary`2.AlternateLookup`1"/> while the ref <typeparamrefname="TValue"/> is in use.</remarks>
<typeparamname="TAlternateKey">To be added.</typeparam>
287
-
<paramname="dictionary">To be added.</param>
288
-
<paramname="key">To be added.</param>
289
-
<summary>To be added.</summary>
290
-
<returns>To be added.</returns>
291
-
<remarks>To be added.</remarks>
284
+
<typeparamname="TKey">The type of the keys in the dictionary.</typeparam>
285
+
<typeparamname="TValue">The type of the values in the dictionary.</typeparam>
286
+
<typeparamname="TAlternateKey">The type of an alternate key for lookups in the dictionary.</typeparam>
287
+
<paramname="dictionary">The dictionary to get the ref to <typeparamrefname="TValue"/> from.</param>
288
+
<paramname="key">The key used for lookup.</param>
289
+
<summary>Gets either a ref to a <typeparamrefname="TValue"/> in the <seecref="T:System.Collections.Generic.Dictionary`2"/> or a ref null if it does not exist in the <paramrefname="dictionary"/>.</summary>
290
+
<returns>A reference to a <typeparamrefname="TValue" /> in the <seecref="T:System.Collections.Generic.Dictionary`2" /> or a reference <seelangword="null" /> if it does not exist in the <paramrefname="dictionary" />..</returns>
291
+
<remarks>
292
+
<para>Items should not be added or removed from the <seecref="T:System.Collections.Generic.Dictionary`2" /> while the ref <paramrefname="TValue" /> is in use.</para>
293
+
<para>The ref <seelangword="null" /> can be detected by calling <seecref="M:System.Runtime.CompilerServices.Unsafe.IsNullRef``1(``0@)" />.</para>
Copy file name to clipboardExpand all lines: xml/System.Windows.Forms/OpenFileDialog.xml
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,9 +47,7 @@
47
47
On a right-to-left operating system, setting the containing form's <xref:System.Windows.Forms.Control.RightToLeft> property to <xref:System.Windows.Forms.RightToLeft.Yes?displayProperty=nameWithType> localizes the dialog's **File Name**, **Open**, and **Cancel** buttons. If the property is not set to <xref:System.Windows.Forms.RightToLeft.Yes?displayProperty=nameWithType>, English text is used instead.
48
48
49
49
If you want to give the user the ability to select a folder instead of a file, use <xref:System.Windows.Forms.FolderBrowserDialog> instead.
50
-
51
-
52
-
50
+
53
51
## Examples
54
52
The following code example creates an <xref:System.Windows.Forms.OpenFileDialog>, sets several properties to define the file extension filter and dialog behavior, and displays the dialog box using the <xref:System.Windows.Forms.CommonDialog.ShowDialog%2A?displayProperty=nameWithType> method. The example requires a form with a <xref:System.Windows.Forms.Button> placed on it and a reference to the <xref:System.IO> namespace added to it.
55
53
@@ -235,6 +233,7 @@ On a right-to-left operating system, setting the containing form's <xref:System.
235
233
]]></format>
236
234
</remarks>
237
235
<exceptioncref="T:System.ArgumentNullException">The file name is <seelangword="null" />.</exception>
236
+
<exceptioncref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
0 commit comments