Click or drag to resize

HpSvExtensionsGetValue Method (HpsvObject, String)

Extension method allowing to get a child structure based on a string path

Namespace:  HP.SV.DotNetRuleApi
Assembly:  HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 5.3.0.9999-localBuild
Syntax
C#
public static Object GetValue(
	this HpsvObject currentObject,
	string path
)

Parameters

currentObject
Type: HP.SV.DotNetRuleApiHpsvObject
the root object
path
Type: SystemString
navigation path

Return Value

Type: Object
the object or null if no such child exists

Usage Note

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