DesktopSystemgetEnvironmentVariable Method (String, AckCallback, AckCallback) |
Expands the passed environment variables.
Namespace:
Openfin.Desktop
Assembly:
OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.0
Syntax public void getEnvironmentVariable(
string[] varsToExpand,
AckCallback callback,
AckCallback errorCallback = null
)
Parameters
- varsToExpand
- Type: SystemString
The variables to be expanded.
- callback
- Type: Openfin.DesktopAckCallback
A function that is called and passed a unique identifier of the device.
- errorCallback (Optional)
- Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails.
The reason for failure is passed as an argument.
Remarks
The resulting payload is an object mapping
the passed variables to their expanded values.
Invalid/unknown environment variables are returned as value null
See Also