Property

Method

Event

 

 

GetFileNum

ÇöÀç ÆíÁý ÁßÀÎ ¹®¼­¿¡ Æ÷ÇÔµÈ ÆÄÀÏÀÇ ¼ö¸¦ ±¸ÇÕ´Ï´Ù.

Syntax

    HRESULT GetFileNum(
    long type,
    long* pNum
    );

Parameters

type

[in] ´ë»ó ÆÄÀÏÀÇ Á¾·ù¸¦ ÁöÁ¤ÇÕ´Ï´Ù.

0

¸ðµÎ

1

·ÎÄÃ(Local) ÆÄÀÏ

2

¸®¸ðÆ®(Remote) ÆÄÀÏ

pNum

[out, retval] Æ÷ÇÔµÈ ¹®¼­ÀÇ ¼ö¸¦ ¾ò½À´Ï´Ù.

Return Values

Ç×»ó : 0

Sample Codes

VBScript

    dim object
    dim array1()
    dim n
    Set object = document.editForm
    n = object.Wec.GetFileNum(0)
    MsgBox n
    if n = 0 then
    exit Function
    end if
    Redim array1(n-1)
    object.wec.GetFileList 0, array1
    for i=0 to n-1
    MsgBox array1(i)
    next

See Also

GetFileList