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<Double>) |
Stores the double |
SetNumberValue(NSString, Nullable<Int32>) |
Stores the int |
SetNumberValue(NSString, Nullable<Int64>) |
Stores the long |
SetNumberValue(NSString, Nullable<nint>) |
Stores the native integer |
SetNumberValue(NSString, Nullable<nuint>) |
Stores the native unsigned int |
SetNumberValue(NSString, Nullable<Single>) |
Stores the float |
SetNumberValue(NSString, Nullable<UInt32>) |
Stores the unsigned int |
SetNumberValue(NSString, Nullable<Double>)
Stores the double value
(or null
) and associates it with the key
.
protected void SetNumberValue (Foundation.NSString key, Nullable<double> value);
member this.SetNumberValue : Foundation.NSString * Nullable<double> -> unit
Parameters
- key
- NSString
The identifier associated with the double.
Applies to
SetNumberValue(NSString, Nullable<Int32>)
Stores the int value
(or null
) and associates it with the key
.
protected void SetNumberValue (Foundation.NSString key, Nullable<int> value);
member this.SetNumberValue : Foundation.NSString * Nullable<int> -> unit
Parameters
- key
- NSString
The identifier associated with the int.
Applies to
SetNumberValue(NSString, Nullable<Int64>)
Stores the long value
(or null
) and associates it with the key
.
protected void SetNumberValue (Foundation.NSString key, Nullable<long> value);
member this.SetNumberValue : Foundation.NSString * Nullable<int64> -> unit
Parameters
- key
- NSString
The identifier associated with the long.
Applies to
SetNumberValue(NSString, Nullable<nint>)
Stores the native integer value
(or null
) and associates it with the key
.
protected void SetNumberValue (Foundation.NSString key, Nullable<nint> value);
member this.SetNumberValue : Foundation.NSString * Nullable<nint> -> unit
Parameters
- key
- NSString
The identifier associated with the native integer value.
The nullable native integer to be associated with key
.
Applies to
SetNumberValue(NSString, Nullable<nuint>)
Stores the native unsigned int value
(or null
) and associates it with the key
.
protected void SetNumberValue (Foundation.NSString key, Nullable<nuint> value);
member this.SetNumberValue : Foundation.NSString * Nullable<nuint> -> unit
Parameters
- key
- NSString
The identifier associated with the native unsigned int.
The nullable native unsigned int to be associated with key
.
Applies to
SetNumberValue(NSString, Nullable<Single>)
Stores the float value
(or null
) and associates it with the key
.
protected void SetNumberValue (Foundation.NSString key, Nullable<float> value);
member this.SetNumberValue : Foundation.NSString * Nullable<single> -> unit
Parameters
- key
- NSString
The identifier associated with the float.
Applies to
SetNumberValue(NSString, Nullable<UInt32>)
Stores the unsigned int value
(or null
) and associates it with the key
.
protected void SetNumberValue (Foundation.NSString key, Nullable<uint> value);
member this.SetNumberValue : Foundation.NSString * Nullable<uint32> -> unit
Parameters
- key
- NSString
The identifier associated with the uint.