 | BcfRuleCollectionTryGetRule Method (String, BcfRule) |
Gets the
BcfRule with specified
key.
Namespace:
CalculationWorks.BusinessModel
Assembly:
CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntaxpublic bool TryGetRule(
string key,
out BcfRule rule
)
Public Function TryGetRule (
key As String,
<OutAttribute> ByRef rule As BcfRule
) As Boolean
Parameters
- key
- Type: SystemString
The key of the rule to get. - rule
- Type: CalculationWorks.BusinessModelBcfRule
When this method returns, contains the rule with the specified key, if the key is found; otherwise, . This parameter is passed uninitialized.
Return Value
Type:
Boolean if the collection contains a rule with the specified
key; otherwise
.
See Also