DictionaryContainer.SetNumberValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetNumberValue(NSString, Nullable<UIntPtr>)
Associates a nullable UIntPtr with key.
protected void SetNumberValue(Foundation.NSString key, UIntPtr? value);
member this.SetNumberValue : Foundation.NSString * Nullable<unativeint> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable UIntPtr value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<UInt64>)
Associates a nullable UInt64 with key.
protected void SetNumberValue(Foundation.NSString key, ulong? value);
member this.SetNumberValue : Foundation.NSString * Nullable<uint64> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable UInt64 value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<UInt32>)
Associates a nullable UInt32 with key.
protected void SetNumberValue(Foundation.NSString key, uint? value);
member this.SetNumberValue : Foundation.NSString * Nullable<uint32> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable UInt32 value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<UInt16>)
Associates a nullable UInt16 with key.
protected void SetNumberValue(Foundation.NSString key, ushort? value);
member this.SetNumberValue : Foundation.NSString * Nullable<uint16> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable UInt16 value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<Single>)
Associates a nullable Single with key.
protected void SetNumberValue(Foundation.NSString key, float? value);
member this.SetNumberValue : Foundation.NSString * Nullable<single> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable Single value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<SByte>)
Associates a nullable SByte with key.
protected void SetNumberValue(Foundation.NSString key, sbyte? value);
member this.SetNumberValue : Foundation.NSString * Nullable<sbyte> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable SByte value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<Double>)
Associates a nullable Double with key.
protected void SetNumberValue(Foundation.NSString key, double? value);
member this.SetNumberValue : Foundation.NSString * Nullable<double> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable Double value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<IntPtr>)
Associates a nullable IntPtr with key.
protected void SetNumberValue(Foundation.NSString key, IntPtr? value);
member this.SetNumberValue : Foundation.NSString * Nullable<nativeint> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable IntPtr value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<Int64>)
Associates a nullable Int64 with key.
protected void SetNumberValue(Foundation.NSString key, long? value);
member this.SetNumberValue : Foundation.NSString * Nullable<int64> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable Int64 value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<Int32>)
Associates a nullable Int32 with key.
protected void SetNumberValue(Foundation.NSString key, int? value);
member this.SetNumberValue : Foundation.NSString * Nullable<int> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable Int32 value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<Int16>)
Associates a nullable Int16 with key.
protected void SetNumberValue(Foundation.NSString key, short? value);
member this.SetNumberValue : Foundation.NSString * Nullable<int16> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable Int16 value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<Byte>)
Associates a nullable Byte with key.
protected void SetNumberValue(Foundation.NSString key, byte? value);
member this.SetNumberValue : Foundation.NSString * Nullable<byte> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable Byte value to be associated with key. Pass null to remove any existing association.
Applies to
SetNumberValue(NSString, Nullable<NFloat>)
Associates a nullable NFloat with key.
protected void SetNumberValue(Foundation.NSString key, System.Runtime.InteropServices.NFloat? value);
member this.SetNumberValue : Foundation.NSString * Nullable<System.Runtime.InteropServices.NFloat> -> unit
Parameters
- key
- NSString
The identifier of the value to get.
The nullable NFloat value to be associated with key. Pass null to remove any existing association.