Partager via


NSValue.StoreValueAtAddress(IntPtr) Méthode

Définition

Les développeurs ne doivent pas utiliser cette méthode dépréciée. Risque de dépassements de mémoire tampon. Les développeurs doivent utiliser « StoreValueAtAddress (IntPtr, nuint) » à la place.

[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

Paramètres

value
IntPtr

nativeint

Attributs

S’applique à