numberOfItems
デスクリプタの項目数を返します
解説
デスクリプタの項目数を返します。エラーが発生すれば0を返します。
返り値
( long int )
整数値
引数
フレームワーク
Foundation
クラス
NSAppleEventDescriptor
Instance Methods
使用可能
10.0
参照
例文
#import "Controller.h" //mi @implementation Controller - (IBAction)pushButton:(id)sender { NSAppleEventDescriptor *aeDesc=[ NSAppleEventDescriptor recordDescriptor ]; NSLog(@"numberOfItems %d",[returnDesc numberOfItems]); } @end