Click or drag to resize

IObjectTryGetSingleRelationship Method (String, RelDirection, IRelationship)

Tries to retrieves a single relationship.

Namespace:  PDTec.IceNet.Core.Model
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
bool TryGetSingleRelationship(
	string relTypeName,
	RelDirection direction,
	out IRelationship pResult
)

Parameters

relTypeName
Type: SystemString
The relationship type name.
direction
Type: PDTec.IceNet.Core.ModelRelDirection
The direction.
pResult
Type: PDTec.IceNet.Core.ModelIRelationship
The relationship (if it exists).

Return Value

Type: Boolean
True if the relationship exists, false otherwise
See Also