FirstClassトップページ


 ヘルプの目次
このヘルプについて このヘルプについて
 
エンドユーザ向けヘルプ エンドユーザ向けヘルプ
Client Help クライアントヘルプ
Web Help Webアクセスヘルプ
ScreenReader Help スクリーンリーダ
Form フォーム
Synchronization 同期
Definitions 用語
container コンテナ
 
管理者向けヘルプ 管理者向けヘルプ
Administration サーバの管理
Internet Services インターネットサービス
Customization Tools カスタマイズツール(英語)
Administering OTSW OTSWの管理
OTSW Custodian OTSW Custodian
Using FirstClass ED FirstClass ED(英語)
 
バナー:
 
 ServerFile.Attachment
ホーム • Customization Tools • FCAS • Language Reference • ServerFile.Attachment
 
Purpose
Assigns a File or ServerFile variable to the Attachment property of a file on the FirstClass server.
The attachment will only contain data that has been read into the File or ServerFile object. If no data is present, the file isn't attached. In addition, only binary content is attached. FCAS doesn't support the attachment of FirstClass objects that include field data, a body, and so on.
Multiple files can be attached by calling Attachment as if it were an array.
Syntax
ServerFile.Attachment [(AttachmentNumber)] = File
Example
Dim f as File
Dim sf as ServerFile
Dim sf2 as ServerFile

f.OpenFile("c:\boot.ini",fcRead)
f.Read(1024)

sf.CreateFile("FCAS Config|Test Item",fcDocument)
sf.OpenFile("FCAS Config|Test Item",fcRead)
sf.Attachment=f
sf2.OpenFile("FCAS Config|test.exe",fcRead)
sf2.Read(30000)
sf.Attachment(1)=sf2
sf2.CloseFile
sf.CloseFile
f.CloseFile

 

Copyright(C) 2002-2012 FC Management Co. All Rights Reserved<