Click or drag to resize

HpsvContextTryGetValueT Method

Attempts to get the value associated with the specified key.

Namespace:  HP.SV.DotNetRuleApi
Assembly:  HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 5.6.0.9999-localBuild
Syntax
C#
public bool TryGetValue<T>(
	string key,
	out T value
)

Parameters

key
Type: SystemString
The key of the value to get.
value
Type: T
The value of the specified key

Type Parameters

T

Return Value

Type: Boolean
True if the value was present in the context and could be casted to requested type, false otherwise.
See Also