NSDocument:fileAttributesToWriteToFile:ofType:saveOperation:
Home 目次>ApplicationKit>NSDocument
10.1

fileAttributesToWriteToFile:ofType:saveOperation:

指定したパスと、文書タイプ、保存オプションでファイル属性を返します。


-(NSDictionary *) fileAttributesToWriteToFile:(NSString *)fullDocumentPath
   ofType:(NSString *)documentTypeName
   saveOperation:(NSSaveOperationType)saveOperationType


【返り値】
   NSDictionary *ファイル属性の辞書
【パラメータ】
   fullDocumentPath文書パス
   documentTypeName文書タイプ名
   saveOperationType保存オプションタイプ


【解説】

指定したパスと、文書タイプ、保存オプションでファイル属性を返します。



【例文】


- ( BOOL )writeWithBackupToFile:(NSString *)fullDocumentPath ofType:(NSString *)docType saveOperation:(NSSaveOperationType)saveOperationType
{
NSLog([[
self fileAttributesToWriteToFile:fullDocumentPath ofType:docType saveOperation:saveOperationType] description]);
return YES ;
}


(C) 2000-2007 Satoshi Oomori.
[Apple]

Google
Webwww.oomori.com
Apple_Store_40x120

[ad:Usual day in Japan]

この記事を評価してください。 

良い 

間違いがある 説明がわかりにくい 例文がわかりにくい  

Home 目次>ApplicationKit>NSDocument
修正日2006.12.26