NSValue.StoreValueAtAddress(IntPtr) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
开发人员不应使用此已弃用的方法。 缓冲区溢出的可能性。 开发人员应改用“StoreValueAtAddress (IntPtr, nuint) ”。
[Foundation.Export("getValue:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Potential for buffer overruns. Use 'StoreValueAtAddress (IntPtr, nuint)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Potential for buffer overruns. Use 'StoreValueAtAddress (IntPtr, nuint)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Potential for buffer overruns. Use 'StoreValueAtAddress (IntPtr, nuint)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Potential for buffer overruns. Use 'StoreValueAtAddress (IntPtr, nuint)' instead.")]
public virtual void StoreValueAtAddress (IntPtr value);
abstract member StoreValueAtAddress : nativeint -> unit
override this.StoreValueAtAddress : nativeint -> unit
参数
- value
-
IntPtr
nativeint
- 属性