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

属性

适用于