Share via


CGRect.TryParse(NSDictionary, CGRect) Method

Definition

Attempts to parse the contents of an NSDictionary with a serialized CGRect into a CGRect.

public static bool TryParse(Foundation.NSDictionary? dictionaryRepresentation, out CoreGraphics.CGRect rect);
static member TryParse : Foundation.NSDictionary * CGRect -> bool

Parameters

dictionaryRepresentation
NSDictionary

The dictionary to parse.

rect
CGRect

If successful, the resulting CGRect value.

Returns

true if the dictionary was serialized successfully, false otherwise.

Applies to