共用方式為


NSString.Encode(NSStringEncoding, Boolean) 方法

定義

public Foundation.NSData Encode (Foundation.NSStringEncoding enc, bool allowLossyConversion = false);
member this.Encode : Foundation.NSStringEncoding * bool -> Foundation.NSData

參數

allowLossyConversion
Boolean

傳回

適用於