Files
componentowl-astro/public/class-reference/better-listview/BetterListView~ComponentOwl.BetterListView.Collections.HashList$2.Remove1.html

86 lines
4.3 KiB
HTML
Raw Normal View History

<html dir="LTR" xmlns:ndoc="urn:ndoc-schema">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="history" name="save" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>HashList(TKey,TValue).Remove(TKey) Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
</head>
<body id="bodyID" class="dtBODY">
<div id="nsbanner">
<div id="bannerrow1">
<table class="bannerparthead" cellspacing="0">
<tr id="hdr">
<td class="runninghead">Better ListView Class Reference</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">HashList(TKey,TValue).Remove(TKey) Method</h1>
</div>
</div>
<div id="nstext">
<p> Removes the element with the specified key from the <a href="http://msdn.microsoft.com/en-us/library/System.Collections.Generic.IDictionary`2(VS.90).aspx">IDictionary`2</a>. </p>
<div class="syntax">public <a href="BetterListView~ComponentOwl.BetterListView.Collections.HashList$2.Remove1.html">bool</a> HashList(<br />   TKey <i>key</i><br />);</div>
<h4 class="dtH4">Parameters</h4>
<dl>
<dt>
<i>key</i>
</dt>
<dd>The key of the element to remove.</dd>
</dl>
<h4 class="dtH4">Return Value</h4>
<p> true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original <a href="http://msdn.microsoft.com/en-us/library/System.Collections.Generic.IDictionary`2(VS.90).aspx">IDictionary`2</a>. </p>
<h4 class="dtH4">Implements</h4>
<p>
<a href="http://msdn.microsoft.com/en-us/library/System.Collections.Generic.IDictionary`2.Remove(`0)(VS.90).aspx">IDictionary&lt;TKey, TValue&gt;.Remove</a>
</p>
<h4 class="dtH4">Exceptions</h4>
<div class="tablediv">
<table class="dtTABLE" cellspacing="0">
<tr valign="top">
<th width="50%">Exception Type</th>
<th width="50%">Condition</th>
</tr>
<tr valign="top">
<td width="50%">
<a href="http://msdn.microsoft.com/en-us/library/System.NotSupportedException(VS.90).aspx">NotSupportedException</a>
</td>
<td width="50%">The <a href="http://msdn.microsoft.com/en-us/library/System.Collections.Generic.IDictionary`2(VS.90).aspx">IDictionary`2</a> is read-only.</td>
</tr>
<tr valign="top">
<td width="50%">
<a href="http://msdn.microsoft.com/en-us/library/System.ArgumentNullException(VS.90).aspx">ArgumentNullException</a>
</td>
<td width="50%">key is null.</td>
</tr>
</table>
</div>
<h4 class="dtH4">See Also</h4>
<p>
<a href="BetterListView~ComponentOwl.BetterListView.Collections.HashList$2.html">HashList&lt;TKey, TValue&gt; Class</a> | <a href="~ComponentOwl.BetterListView.Collections.html">ComponentOwl.BetterListView.Collections Namespace</a> | <a href="BetterListView~ComponentOwl.BetterListView.Collections.HashList$2.Remove~Overloads.html">HashList&lt;TKey, TValue&gt;.Remove Overload List</a></p>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
<param name="Keyword" value="Remove method&#xD;&#xA; ">
</param>
<param name="Keyword" value="Remove method, HashList`2 class">
</param>
<param name="Keyword" value="HashList`2.Remove method&#xD;&#xA; ">
</param>
</object>
<hr />
<div id="footer">
<p>
<a href="mailto:support@componentowl.com?subject=Better%20ListView%20Class%20Reference%20Documentation%20Feedback:%20HashList`2.Remove Method (TKey)">Send comments on this topic.</a>
</p>
<p>
<a>Copyright © 2010-2012 ComponentOwl.com</a>
</p>
<p>Generated from assembly BetterListView [3.1.0.0] by <a href="http://ndoc3.sourceforget.net">NDoc3</a></p>
</div>
</div>
</body>
</html>