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
- 屬性