Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

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


Blok kódu
languageesl
themeConfluence
Property Get D2GetUniValValue(value As VBApi_TUniVal) As Variant
Description
The function returns a values, that is contained in the structure VBApi_TUniVal or the value of Empty if the value is invalid.


Declaration


Blok kódu
languageesl
themeConfluence
Property Get D2GetUniValTime(value As VBApi_TUniVal) As Date
Description
The function retrieves the value time.


Declaration


Blok kódu
languageesl
themeConfluence
Property Get D2GetUniValValid(value As VBApi_TUniVal) As Boolean
Description
The function retrieves the validity attribute of a given value.


Declaration


Blok kódu
languageesl
themeConfluence
Property Get D2GetUniValWeak(value As VBApi_TUniVal) As Boolean
Description
The function retrieves the Weak attribute of a given value.


Declaration


Blok kódu
languageesl
themeConfluence
Property Get D2GetUniValTransient(value As VBApi_TUniVal) As Boolean
Description
The function retrieves the Transient attribute of a given value.


Declaration


Blok kódu
languageesl
themeConfluence
Property Get D2GetUniValDefault(value As VBApi_TUniVal) As Boolean
Description
The function retrieves the Default attribute of a given value.


Declaration


Blok kódu
languageesl
themeConfluence
Property Get D2GetUniValLimits(value As VBApi_TUniVal) As Long
Description
The function retrieves the limit attribute of a given value.


Declaration


Blok kódu
languageesl
themeConfluence
Property Get D2GetUniValFlags(value As VBApi_TUniVal) As String
Description
The function retrieves the string , that which contains individual user attributes (flags) represented by the characters A..P , if a given attribute is set.


Declaration


Blok kódu
languageesl
themeConfluence
Property Get D2GetSpecificProperty(value As VBApi_TUniVal, prop As Long) As Variant
Description
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 propMeaning of return value
Public Const D2ValueValue = 1Value
Public Const D2ValueTime = 2Value time
Public Const D2ValueValid = 3Value validity attribute
Public Const D2ValueWeak = 4Weak attribute
Public Const D2ValueTransient = 5Transient attribute
Public Const D2ValueDefault = 6Default attribute
Public Const D2ValueLimits = 7Value limits
Public Const D2ExtendFlags = 8User flags
Public Const D2ArchFlags = 9Archive flags


Info
titleRelated pages:

D2000 VBApi.xla