DocStates As IDocStates ( PropertyGet )


Справочник "Состояния документов"

Синтаксис:

objectvariable.DocStates

objectvariable - IOcs_Application

Возвращает: указатель на DocStates .


Пример на VB:
Dim OcsObj As CSDN.OCS
Dim App As CSDN.Ocs_Application
Set OcsObj = CreateObject("CSDN.OCS")
Set App = OcsObj.Login
Dim Spr As CSDN.DocStates
Set Spr = App.DocStates
rw = 1
For i = 1 To Spr.PropertiesCount
   Cells(rw, i).Value = Spr.Properties(i - 1).Caption
Next
rw = rw + 2
Spr.First
Do While Not Spr.EOF
    For i = 1 To Spr.PropertiesCount
        Cells(rw, i).Value = Spr.Properties(i - 1).DisplayText
    Next
    Spr.Next
    rw = rw + 1
Loop
Set Spr = Nothing
Set App = Nothing
Set TcsObj = Nothing