CGRect.ToDictionary 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.
Serializes a CGRect into an NSDictionary.
public Foundation.NSDictionary ToDictionary();
member this.ToDictionary : unit -> Foundation.NSDictionary
Returns
An NSDictionary with the values from this CGRect.
Remarks
The returned dictionary conforms to the serialization standard of Cocoa and CocoaTouch and can be used to serialize the state into objects that can be parsed by other Apple APIs.
It is possible to create a CGRect from an NSDictionary using the TryParse(NSDictionary, CGRect) method.