Click or drag to resize

BcfRuleCollectionTryGetRule Method (String, BcfRule)

Gets the BcfRule with specified key.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public bool TryGetRule(
	string key,
	out BcfRule rule
)

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