CanEasy COM-Help
CanEasy::IEnvVar Interface Reference
Inheritance diagram for CanEasy::IEnvVar:
CanEasy::IValue CanEasy::IDatabaseItem

Detailed Description

Environment variable from the database.

Can be used to store any kind of data. It is an additional abstraction layer that allows writing code independent to the project.

interface IEnvVar : IValue
{
HRESULT Notify(void);
HRESULT Type([out, retval] enum EnvVarType*);
HRESULT Type([in] enum EnvVarType enType);
HRESULT Array([out, retval] VARIANT_BOOL*);
HRESULT Array([in] VARIANT_BOOL boVal);
HRESULT ReplaceValue([in] VARIANT vVal);
HRESULT GetString([out, retval] BSTR*);
};

Definition at line 2509 of file cand_tlb.idl.

Member Function Documentation

◆ GetString()

HRESULT CanEasy::IEnvVar::GetString ( [out, retval] BSTR *  )

Returns the value as string

◆ Notify()

HRESULT CanEasy::IEnvVar::Notify ( void  )

Notifies the value change event

◆ ReplaceValue()

HRESULT CanEasy::IEnvVar::ReplaceValue ( [in] VARIANT  vVal)

Replaces the value and the data type

Property Documentation

◆ Array

VARIANT_BOOL CanEasy::IEnvVar::Array
getset

True if the variable is an array

◆ Type

EnvVarType CanEasy::IEnvVar::Type
getset

Deprecated: Type of this variable.

use IValue.ValueType instead

CanEasy::IEnvVar::Type
EnvVarType Type
Deprecated: Type of this variable.
CanEasy::IEnvVar::Notify
HRESULT Notify(void)
CanEasy::IEnvVar::ReplaceValue
HRESULT ReplaceValue([in] VARIANT vVal)
CanEasy::EnvVarType
EnvVarType
Deprecated: The EnvVarType enumeration defines value types of environment variables.
Definition: cand_tlb.idl:192
CanEasy::IEnvVar::Array
VARIANT_BOOL Array
CanEasy::IEnvVar::GetString
HRESULT GetString([out, retval] BSTR *)