GetVariable Method (name)

Pageflex Document Action API

Pageflex Document Action API GetVariable Method (name)
Namespaces > Pageflex.Scripting > Application > GetVariable(String)
Gets a Variable with the specified name, either a project variable or a job variable.
Syntax
C# Visual Basic Managed C++
public static Variable GetVariable (
	string name
)
Public Shared Function GetVariable ( _
	name As String _
) As Variable
public:
static Variable^ GetVariable (
	String^ name
)
Parameters
name (String)
Name of variable to retrieve.
Return Value
A Variable with the specified name.
Exceptions
Exception Condition
VariableNotFoundException The specified variable is not defined in the current project.
ArgumentNullException The value supplied for name was nullNothingnullptr.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)