共用方式為


NSDateComponents.WeekOfYear 屬性

定義

年份的周。

public virtual nint WeekOfYear { [Foundation.Export("weekOfYear")] get; [Foundation.Export("setWeekOfYear:")] set; }
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nint WeekOfYear { [Foundation.Export("weekOfYear")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setWeekOfYear:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.WeekOfYear : nint with get, set

屬性值

System.System.IntPtr System.nativeint

代表 NSDateComponent 的 WeekOfYear 元件,如果未明確設定值,則會將值設定為 Undefined

屬性

適用於