NSDateComponents.WeekOfMonth 属性

定义

当月的一周。

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

属性值

System.System.IntPtr System.nativeint

表示 NSDateComponent 的 WeekOfMonth 组件,如果未显式设置该值,则该值设置为 Undefined

属性

适用于