1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>ConfigBase.GetInt Method (String, Int32, Boolean)</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">Nini Library API Reference - http://nini.sourceforge.net/</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">ConfigBase.GetIntMethod(String, Int32, Boolean)</h1>
</div>
</div>
<div id="nstext">
<p> Returns an integer key value from an alias. </p>
<div class="syntax">public<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemInt32ClassTopic.htm">int</a>GetInt(<br /><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string</a><i>key</i>,<br /><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemInt32ClassTopic.htm">int</a><i>defaultValue</i>,<br /><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">bool</a><i>fromAlias</i><br />);</div>
<h4 class="dtH4">Parameters</h4>
<dl>
<dt>
<i>key</i>
</dt>
<dd>Configuration key.</dd>
<dt>
<i>defaultValue</i>
</dt>
<dd> Default value if the key is not found. </dd>
<dt>
<i>fromAlias</i>
</dt>
<dd> If set to true then this returns the alias configuration value. </dd>
</dl>
<h4 class="dtH4">Implements</h4>
<p>
<a href="Nini.Config.IConfig.GetInt_overload_4.html">IConfig.GetInt</a>
</p>
<h4 class="dtH4">See Also</h4>
<p>
<a href="Nini.Config.ConfigBase.html">ConfigBase Class</a> | <a href="Nini.Config.html">Nini.Config Namespace</a> | <a href="Nini.Config.ConfigBase.GetInt_overloads.html">ConfigBase.GetInt 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="GetInt method">
</param>
<param name="Keyword" value="GetInt method, ConfigBase class">
</param>
<param name="Keyword" value="ConfigBase.GetInt method">
</param>
</object>
<hr />
<div id="footer">
<p>
<a>Copyright (c) 2006 Brent R. Matzelle</a>
</p>
<p>
</p>
</div>
</div>
</body>
</html>
|