DictionaryContainer.SetValueTypeAsNSData<T> 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.
Sets an NSData with the contents of a value type of type T associated with key.
protected void SetValueTypeAsNSData<T>(Foundation.NSString key, T? value) where T : struct;
member this.SetValueTypeAsNSData : Foundation.NSString * Nullable<'T (requires 'T : struct)> -> unit (requires 'T : struct)
Type Parameters
- T
The value type stored in the type NSData.
Parameters
- key
- NSString
The identifier of the value to get.