共用方式為


NSDateComponents.YearForWeekOfYear 屬性

定義

年份的一周。

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

屬性值

System.System.IntPtr System.nativeint

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

屬性

適用於