AddNew Method of the EnvironmentVariables Object

This method adds a new environment variable at the end of the collection.

Syntax

Visual Basic .NET

Function AddNew( _
  Name As String, _
  Type As EnvironmentVariableTypeEnum _
) As EnvironmentVariable
    

C++

HRESULT AddNew(
  BSTR                         Name,
  EnvironmentVariableTypeEnum  Type,
  IEnvironmentVariable**       Result
);
    

Parameters

Name
[in] This parameter specifies the name of the environment variable.
Type
[in] This parameter of the EnvironmentVariableTypeEnum type specifies the type of the environment variable.
Result
[out, retval] A pointer to the IEnvironmentVariable* variable that receives the interface pointer for the added environment variable.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

EnvironmentVariable

EnvironmentVariables

8/15/2023 1:19:30 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.