Click or drag to resize

ModelExtensionsIsConnected Method (IObject, IRelType, RelDirection)

Detects whether an object is connected by at least one relationship of a specific type.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static bool IsConnected(
	this IObject pObject,
	IRelType pRelType,
	RelDirection relDirection
)

Parameters

pObject
Type: PDTec.IceNet.Core.ModelIObject
The object.
pRelType
Type: PDTec.IceNet.Core.ModelIRelType
The relationship type.
relDirection
Type: PDTec.IceNet.Core.ModelRelDirection
The relationship direction from the object's perspective.

Return Value

Type: Boolean
true if the object is connected, otherwise false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also