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

属性

适用于