NSDateComponents.Week Property

Definition

Developers should not use this deprecated property. Developers should use 'WeekOfMonth' or 'WeekOfYear' instead.

[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

Property Value

System.System.IntPtr System.nativeint

Represents the Week component of the NSDateComponent, the value is set to Undefined if the value was not explicitly set.

Attributes

Applies to