共用方式為


NSDateFormatter.SetLocalizedDateFormatFromTemplate(String) 方法

定義

[Foundation.Export("setLocalizedDateFormatFromTemplate:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetLocalizedDateFormatFromTemplate (string dateFormatTemplate);
abstract member SetLocalizedDateFormatFromTemplate : string -> unit
override this.SetLocalizedDateFormatFromTemplate : string -> unit

參數

dateFormatTemplate
String
屬性

適用於