Description
Tests whether the input component and the target component form a cyclic dependency.
Syntax
[Visual Basic .NET] |
---|
Public Function HasCyclicDependency( _
ByVal Point As IAgCrdnPoint _
) As Boolean
|
Parameters
See Also
Example
Check whether the reference point has a cyclic dependency on another point.
[C#] |
---|
//Check if the reference point has a cyclic dependency on another point.
if (pointRefTo.HasCyclicDependency(point))
{
Console.WriteLine("The point {0} has a cyclic dependency on point {1}.", ((IAgCrdn)pointRefTo.GetPoint()).Name, ((IAgCrdn)point).Name);
}
|
|
Check whether the reference point has a cyclic dependency on another point.
[Visual Basic .NET] |
---|
'Check if the reference point has a cyclic dependency on another point.
If pointRefTo.HasCyclicDependency(point) Then
Console.WriteLine("The point {0} has a cyclic dependency on point {1}.", DirectCast(pointRefTo.GetPoint(), IAgCrdn).Name, DirectCast(point, IAgCrdn).Name)
End If
|
|