Files
componentowl-astro/public/class-reference/better-listview/BetterListView~ComponentOwl.BetterListView.DictionaryBase$2.TryGetValue.html

85 lines
3.9 KiB
HTML
Raw Permalink 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>DictionaryBase(TKey,TValue).TryGetValue 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">DictionaryBase(TKey,TValue).TryGetValue Method</h1>
</div>
</div>
<div id="nstext">
<p> Gets the value associated with the specified key. </p>
<div class="syntax">public <a href="BetterListView~ComponentOwl.BetterListView.DictionaryBase$2.TryGetValue.html">bool</a> DictionaryBase(<br />   TKey <i>key</i>,<br />   out TValue <i>value</i><br />);</div>
<h4 class="dtH4">Parameters</h4>
<dl>
<dt>
<i>key</i>
</dt>
<dd>The key whose value to get. </dd>
<dt>
<i>value</i>
</dt>
<dd>When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the <i>value</i> parameter. This parameter is passed uninitialized. </dd>
</dl>
<h4 class="dtH4">Return Value</h4>
<p> true if the object that implements <a href="http://msdn.microsoft.com/en-us/library/System.Collections.Generic.IDictionary`2(VS.90).aspx">IDictionary`2</a> contains an element with the specified key; otherwise, false. </p>
<h4 class="dtH4">Implements</h4>
<p>
<a href="http://msdn.microsoft.com/en-us/library/System.Collections.Generic.IDictionary`2.TryGetValue(`0,`1@)(VS.90).aspx">IDictionary&lt;TKey, TValue&gt;.TryGetValue</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.ArgumentNullException(VS.90).aspx">ArgumentNullException</a>
</td>
<td width="50%">
<i>key</i> is null. </td>
</tr>
</table>
</div>
<h4 class="dtH4">See Also</h4>
<p>
<a href="BetterListView~ComponentOwl.BetterListView.DictionaryBase$2.html">DictionaryBase&lt;TKey, TValue&gt; Class</a> | <a href="~ComponentOwl.BetterListView.html">ComponentOwl.BetterListView Namespace</a></p>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
<param name="Keyword" value="TryGetValue method&#xD;&#xA; ">
</param>
<param name="Keyword" value="TryGetValue method, DictionaryBase`2 class">
</param>
<param name="Keyword" value="DictionaryBase`2.TryGetValue method&#xD;&#xA; ">
</param>
</object>
<hr />
<div id="footer">
<p>
<a href="mailto:support@componentowl.com?subject=Better%20ListView%20Class%20Reference%20Documentation%20Feedback:%20DictionaryBase`2.TryGetValue Method ">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>