Files
componentowl-astro/public/class-reference/better-thumbnail-browser/BetterThumbnailBrowser~ComponentOwl.BetterThumbnailBrowser.HashList$2.Add1.html

94 lines
4.5 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<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).Add(TKey, TValue) 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">btb-class</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">HashList(TKey,TValue).Add(TKey, TValue) Method</h1>
</div>
</div>
<div id="nstext">
<p> Adds an element with the provided key and value to 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="BetterThumbnailBrowser~ComponentOwl.BetterThumbnailBrowser.HashList$2.Add1.html">void</a> HashList(<br />   TKey <i>key</i>,<br />   TValue <i>value</i><br />);</div>
<h4 class="dtH4">Parameters</h4>
<dl>
<dt>
<i>key</i>
</dt>
<dd>The object to use as the key of the element to add.</dd>
<dt>
<i>value</i>
</dt>
<dd>The object to use as the value of the element to add.</dd>
</dl>
<h4 class="dtH4">Implements</h4>
<p>
<a href="http://msdn.microsoft.com/en-us/library/System.Collections.Generic.IDictionary`2.Add(`0,`1)(VS.90).aspx">IDictionary&lt;TKey, TValue&gt;.Add</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.ArgumentException(VS.90).aspx">ArgumentException</a>
</td>
<td width="50%">An element with the same key already exists in the <a href="http://msdn.microsoft.com/en-us/library/System.Collections.Generic.IDictionary`2(VS.90).aspx">IDictionary`2</a>.</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="BetterThumbnailBrowser~ComponentOwl.BetterThumbnailBrowser.HashList$2.html">HashList&lt;TKey, TValue&gt; Class</a> | <a href="~ComponentOwl.BetterThumbnailBrowser.html">ComponentOwl.BetterThumbnailBrowser Namespace</a> | <a href="BetterThumbnailBrowser~ComponentOwl.BetterThumbnailBrowser.HashList$2.Add~Overloads.html">HashList&lt;TKey, TValue&gt;.Add 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="Add method&#xD;&#xA; ">
</param>
<param name="Keyword" value="Add method, HashList`2 class">
</param>
<param name="Keyword" value="HashList`2.Add method&#xD;&#xA; ">
</param>
</object>
<hr />
<div id="footer">
<p>
<a href="mailto:support@componentowl.com?subject=btb-class%20Documentation%20Feedback:%20HashList`2.Add Method (TKey,%20TValue)">Send comments on this topic.</a>
</p>
<p>
<a>Copyright © 2010-2012 ComponentOwl.com</a>
</p>
<p>Generated from assembly BetterThumbnailBrowser [1.4.0.0] by <a href="http://ndoc3.sourceforget.net">NDoc3</a></p>
</div>
</div>
</body>
</html>