다음을 통해 공유


NSDateComponents.Week 속성

정의

개발자는 이 사용되지 않는 속성을 사용하면 안 됩니다. 개발자는 대신 'WeekOfMonth' 또는 'WeekOfYear'를 사용해야 합니다.

[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

속성 값

System.System.IntPtr System.nativeint

NSDateComponent의 Week 구성 요소를 나타내며 값이 명시적으로 설정되지 않은 경우 값이 로 설정 Undefined 됩니다.

특성

적용 대상