Click or drag to resize

imbGraphExtensionsgetPathViaExtension Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the path string - including source at end of the path

Namespace:  imbSCI.Data
Assembly:  imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
Syntax
C#
public static string getPathViaExtension(
	this IObjectWithPath source,
	bool useXPathFormat
)
Request Example View Source

Parameters

source
Type: imbSCI.Data.interfacesIObjectWithPath
Object to get XPath for
useXPathFormat
Type: SystemBoolean
if set to true if will return XPath format with / instead of backslash, otherwise it will use \\ as path separator member.

Return Value

Type: String
XPath string with the root backslash

Usage Note

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