Skip to main content

GetAFElementFromPath(String, AFElement) Method

Returns the AFElement for a given path relative to a secified AFElement object.

Definition​

Namespace: GHost.GSharp.Analytics.AF
Assembly: GHost.GSharp.Analytics.AF (in GHost.GSharp.Analytics.AF.dll) Version: 1.2.0.0 (1.2.44.3)

C#

public static AFElement GetAFElementFromPath(
string path,
AFElement rootElement
)

VB

Public Shared Function GetAFElementFromPath ( 
path As String,
rootElement As AFElement
) As AFElement

Parameters​

  String
String specifying the AFElement path. The format should be ServerName\Database\Element1\Element2\…\ElementN.
  AFElement

Return Value​

AFElement object corresponding to the specified path.

Exceptions​

ArgumentExceptionThrown if the path passed is not a valid AFElement path or if the rootElement parameter is not valid.

See Also​

Reference​

FunctionLibrary Class
GetAFElementFromPath Overload
GHost.GSharp.Analytics.AF Namespace