Freigeben über


NSDateComponents.Week Eigenschaft

Definition

Entwickler sollten diese veraltete Eigenschaft nicht verwenden. Entwickler sollten stattdessen "WeekOfMonth" oder "WeekOfYear" verwenden.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.None, "Use 'WeekOfMonth' or 'WeekOfYear' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'WeekOfMonth' or 'WeekOfYear' instead.")]
public virtual nint Week { [Foundation.Export("week")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.None, "Use 'WeekOfMonth' or 'WeekOfYear' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'WeekOfMonth' or 'WeekOfYear' instead.")] get; [Foundation.Export("setWeek:")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.None, "Use 'WeekOfMonth' or 'WeekOfYear' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'WeekOfMonth' or 'WeekOfYear' instead.")] set; }
member this.Week : nint with get, set

Eigenschaftswert

System.System.IntPtr System.nativeint

Stellt die Week-Komponente von NSDateComponent dar. Der Wert wird auf Undefined festgelegt, wenn der Wert nicht explizit festgelegt wurde.

Attribute

Gilt für: