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 the state of the rectangle into an NSDictionary.
public Foundation.NSDictionary ToDictionary ();
member this.ToDictionary : unit -> Foundation.NSDictionary
Returns
An NSDictionary representing the rectangle.
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 CGRect from a Dictionary using the TryParse(NSDictionary, CGRect) method.