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