|
BcfRelationCollectionTryGetRelation Method |
Gets the relation with the specified name.
Namespace: CalculationWorks.BusinessModelAssembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 3.0.2.0
Syntax public bool TryGetRelation(
string relationName,
out BcfRelation relation
)
Public Function TryGetRelation (
relationName As String,
<OutAttribute> ByRef relation As BcfRelation
) As Boolean
public:
bool TryGetRelation(
String^ relationName,
[OutAttribute] BcfRelation^% relation
)
member TryGetRelation :
relationName : string *
relation : BcfRelation byref -> bool
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, null. This parameter is passed uninitialized.
Return Value
Type:
Booleantrue if the collection contains a relation with the specified name; otherwise
false.
Remarks The collection is case-sensitive when it searches for relation names.
Version Information CalculationWorks.BusinessModel
Supported in: 3.0, 2.1, 2.0
See Also