NSDateComponents.WeekOfYear 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
年份的周。
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 。
- 屬性