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 69 70 71 72 73 74 75 76 77 78 79
|
<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>ConfigSourceBase.AddConfig 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">Nini Library API Reference - http://nini.sourceforge.net/</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">ConfigSourceBase.AddConfigMethod</h1>
</div>
</div>
<div id="nstext">
<p> Adds a new IConfig. </p>
<div class="syntax">publicvirtual<a href="Nini.Config.IConfig.html">IConfig</a>AddConfig(<br /><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string</a><i>name</i><br />);</div>
<h4 class="dtH4">Parameters</h4>
<dl>
<dt>
<i>name</i>
</dt>
<dd> The name of the new IConfig. </dd>
</dl>
<h4 class="dtH4">Return Value</h4>
<p> The new IConfig. </p>
<h4 class="dtH4">Implements</h4>
<p>
<a href="Nini.Config.IConfigSource.AddConfig.html">IConfigSource.AddConfig</a>
</p>
<h4 class="dtH4">Remarks</h4>
<p> This creates a new IConfig and adds it to the <a href="Nini.Config.ConfigSourceBase.Configs.html">Configs</a> collection. </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="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemExceptionClassTopic.htm">Exception</a>
</td>
<td width="50%"> If an IConfig of the same name already exists. </td>
</tr>
</table>
</div>
<h4 class="dtH4">See Also</h4>
<p>
<a href="Nini.Config.ConfigSourceBase.html">ConfigSourceBase Class</a> | <a href="Nini.Config.html">Nini.Config Namespace</a></p>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
<param name="Keyword" value="AddConfig method">
</param>
<param name="Keyword" value="AddConfig method, ConfigSourceBase class">
</param>
<param name="Keyword" value="ConfigSourceBase.AddConfig method">
</param>
</object>
<hr />
<div id="footer">
<p>
<a>Copyright (c) 2006 Brent R. Matzelle</a>
</p>
<p>
</p>
</div>
</div>
</body>
</html>
|