Interface Module
D2000 VBApi - Interface module
The Interface module contains the declarations of the procedures and constants, which are described in the topic VBApi interface structures. It also defines functions which allow accessing individual items of the structure VBApi_TUniVal.
Descriptions of the functions:
Declaration
Property Get D2GetUniValValue(value As VBApi_TUniVal) As VariantDescription
The function returns a values, that is contained in the structure VBApi_TUniVal or the value of Empty if the value is invalid.
Declaration
Property Get D2GetUniValTime(value As VBApi_TUniVal) As DateDescription
The function retrieves the value time.
Declaration
Property Get D2GetUniValValid(value As VBApi_TUniVal) As BooleanDescription
The function retrieves the validity attribute of a given value.
Declaration
Property Get D2GetUniValWeak(value As VBApi_TUniVal) As BooleanDescription
The function retrieves the Weak attribute of a given value.
Declaration
Property Get D2GetUniValTransient(value As VBApi_TUniVal) As BooleanDescription
The function retrieves the Transient attribute of a given value.
Declaration
Property Get D2GetUniValDefault(value As VBApi_TUniVal) As BooleanDescription
The function retrieves the Default attribute of a given value.
Declaration
Property Get D2GetUniValLimits(value As VBApi_TUniVal) As LongDescription
The function retrieves the limit attribute of a given value.
Declaration
Property Get D2GetUniValFlags(value As VBApi_TUniVal) As StringDescription
The function retrieves the string which contains individual user attributes (flags) represented by the characters A..P if a given attribute is set.
Declaration
Property Get D2GetSpecificProperty(value As VBApi_TUniVal, prop As Long) As VariantDescription
The function returns required item (the parameter prop) of the structure VBApi_TUniVal.
The constants for individual items are also defined in the Interface module:
Constant for the parameter prop | Meaning of return value |
|---|---|
Public Const D2ValueValue = 1 | Value |
Public Const D2ValueTime = 2 | Value time |
Public Const D2ValueValid = 3 | Value validity attribute |
Public Const D2ValueWeak = 4 | Weak attribute |
Public Const D2ValueTransient = 5 | Transient attribute |
Public Const D2ValueDefault = 6 | Default attribute |
Public Const D2ValueLimits = 7 | Value limits |
Public Const D2ExtendFlags = 8 | User flags |
Public Const D2ArchFlags = 9 | Archive flags |
Related pages: