<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>RulesEngine.GetRule 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">Rules Processing Library by Jaxlab</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">RulesEngine.GetRule�Method�</h1>
</div>
</div>
<div id="nstext">
<p> Returns Rule from ID </p>
<div class="syntax">
<span class="lang">[Visual�Basic]</span>
<br />Public�Function�GetRule( _<br />���ByVal <i>oParent</i>�As�<a href="Jaxlab.Rules.RuleObject.html">RuleObject</a>,�_<br />���ByVal <i>sRuleID</i>�As�<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">String</a>�_<br />)�As�<a href="Jaxlab.Rules.RuleObject.html">RuleObject</a></div>
<div class="syntax">
<span class="lang">[C#]</span>
<br />public�<a href="Jaxlab.Rules.RuleObject.html">RuleObject</a>�GetRule(<br />���<a href="Jaxlab.Rules.RuleObject.html">RuleObject</a>�<i>oParent</i>,<br />���<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string</a>�<i>sRuleID</i><br />);</div>
<h4 class="dtH4">Parameters</h4>
<dl>
<dt>
<i>oParent</i>
</dt>
<dd>Parent Rule to search form</dd>
<dt>
<i>sRuleID</i>
</dt>
<dd>ID of rule to find</dd>
</dl>
<h4 class="dtH4">Return Value</h4>
<p>Rule object or RuleNotFoundException</p>
<h4 class="dtH4">Remarks</h4>
<p> String id can be a dot operated string to identify sub rules. This method will recurse the string until the sub-rule is found. </p>
<h4 class="dtH4">See Also</h4>
<p>
<a href="Jaxlab.Rules.RulesEngine.html">RulesEngine Class</a> | <a href="Jaxlab.Rules.html">Jaxlab.Rules Namespace</a></p>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
<param name="Keyword" value="GetRule method">
</param>
<param name="Keyword" value="GetRule method, RulesEngine class">
</param>
<param name="Keyword" value="RulesEngine.GetRule method">
</param>
</object>
<hr />
<div id="footer">
<p>
<a href="mailto:jeff_bramlett@hotmail.com?subject=Rules%20Processing%20Library%20by%20Jaxlab%20Documentation%20Feedback:%20RulesEngine.GetRule�Method�">Send comments on this topic.</a>
</p>
<p>
<a href="http://www.jaxlab.com">Copyright by Jeff Bramlett 2005</a>
</p>
<p>Generated from assembly JaxlabRulesEngine [1.0.2431.14881]</p>
</div>
</div>
</body>
</html>