共用方式為


NSUrlUtilities_NSString.CreateStringByAddingPercentEncoding 方法

定義

[Foundation.Export("stringByAddingPercentEncodingWithAllowedCharacters:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSString CreateStringByAddingPercentEncoding (this Foundation.NSString This, Foundation.NSCharacterSet allowedCharacters);
static member CreateStringByAddingPercentEncoding : Foundation.NSString * Foundation.NSCharacterSet -> Foundation.NSString

參數

This
NSString

這個方法運作所在的 實例。

allowedCharacters
NSCharacterSet

傳回

屬性

適用於