Click or drag to resize

imbPathExtensionsremoveCommonRoot Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Removes common root from xPathA and returns result

Namespace:  imbSCI.Data.extensions.data
Assembly:  imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
Syntax
C#
public static string removeCommonRoot(
	this string xPathA,
	string xPathB,
	bool includeAbsolute = false,
	string splitter = ""
)
Request Example View Source

Parameters

xPathA
Type: SystemString
The x path a.
xPathB
Type: SystemString
The x path b.
includeAbsolute (Optional)
Type: SystemBoolean
if set to true [include absolute].
splitter (Optional)
Type: SystemString

Return Value

Type: String

Usage Note

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