Skip to content

Commit 9477216

Browse files
authored
add ane's for preview 7 and 8 (#4495)
1 parent dd13862 commit 9477216

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

xml/System.Windows.Forms/ListView+SelectedIndexCollection.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@
5858
|1|3|
5959
|2|4|
6060
61-
You can use the properties and methods of this class to perform a variety of tasks with the collection. The <xref:System.Windows.Forms.ListView.SelectedIndexCollection.Contains%2A> method enables you to determine whether an index position from the <xref:System.Windows.Forms.ListView.ListViewItemCollection> is one of the indexes stored in the <xref:System.Windows.Forms.ListView.SelectedIndexCollection>. Once you know that the item is in the collection, you can use the <xref:System.Windows.Forms.ListView.SelectedIndexCollection.IndexOf%2A> method to determine the position of the index in the <xref:System.Windows.Forms.ListView.SelectedIndexCollection>.
62-
63-
61+
You can use the properties and methods of this class to perform a variety of tasks with the collection. The <xref:System.Windows.Forms.ListView.SelectedIndexCollection.Contains%2A> method enables you to determine whether an index position from the <xref:System.Windows.Forms.ListView.ListViewItemCollection> is one of the indexes stored in the <xref:System.Windows.Forms.ListView.SelectedIndexCollection>. Once you know that the item is in the collection, you can use the <xref:System.Windows.Forms.ListView.SelectedIndexCollection.IndexOf%2A> method to determine the position of the index in the <xref:System.Windows.Forms.ListView.SelectedIndexCollection>.
6462
6563
## Examples
6664
The following code example demonstrates how to use the <xref:System.Windows.Forms.ListView.SelectedIndices%2A>, <xref:System.Windows.Forms.ListView.SelectedIndexChanged>, and <xref:System.Windows.Forms.ListView.HeaderStyle%2A> members and the <xref:System.Windows.Forms.ListView.SelectedIndexCollection> class. To run this example, paste the following code into a form that contains a <xref:System.Windows.Forms.ListView> object named `ListView1` and a <xref:System.Windows.Forms.TextBox> named `TextBox1`. Call the `InitializeListView` method from the form's constructor or <xref:System.Windows.Forms.Form.Load> event handler. This example requires that the event handler is correctly associated with the <xref:System.Windows.Forms.ListView.SelectedIndexChanged> event.
@@ -111,6 +109,7 @@
111109
112110
]]></format>
113111
</remarks>
112+
<exception cref="T:System.ArgumentNullException" >.NET 5.0 and later: <paramref name="owner" /> is <see langword="null" />.</exception>
114113
</Docs>
115114
</Member>
116115
<Member MemberName="Add">

xml/System.Windows.Forms/TreeNodeCollection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,7 @@
726726
727727
]]></format>
728728
</remarks>
729+
<exception cref="T:System.ArgumentNullException" >.NET 5.0 and later: <paramref name="key" /> is <see langword="null" /> or empty.</exception>
729730
</Docs>
730731
</Member>
731732
<Member MemberName="GetEnumerator">

0 commit comments

Comments
 (0)