Click or drag to resize

imbGraphExtensionsgetPathToParent Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Relative path to memeber in parent chain

Namespace:  imbSCI.Data
Assembly:  imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
Syntax
C#
public static string getPathToParent(
	this IObjectWithParent source,
	IObjectWithParent target,
	string prefix = "",
	int limit = 100
)
Request Example View Source

Parameters

source
Type: imbSCI.Data.interfacesIObjectWithParent
target
Type: imbSCI.Data.interfacesIObjectWithParent
The target.
prefix (Optional)
Type: SystemString
The prefix.
limit (Optional)
Type: SystemInt32

Return Value

Type: String
Propert relative path

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObjectWithParent. 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