ApiSessionCreateGlobalVariable Method (String, Boolean, ObjectProxy, String) |
Creates a new boolean variable via a full qualified name. If the supplied namespace doesn't exist, it will be created.
Namespace:
Articy.Api
Assembly:
ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax public ObjectProxy CreateGlobalVariable(
string aFullQualifiedName,
bool aDefaultValue,
out ObjectProxy aNamespace,
string aVariableDescription = ""
)
Parameters
- aFullQualifiedName
- Type: SystemString
a full qualified variable name in the form of "variableset.variable" - aDefaultValue
- Type: SystemBoolean
the default value for the new variable - aNamespace
- Type: Articy.ApiObjectProxy
returns the used or newly created namespace - aVariableDescription (Optional)
- Type: SystemString
the description of the new variable
Return Value
Type:
ObjectProxythe freshly created object; use this return value to further initialize the properties of the new variable
See Also