Share via


CGSize.TryParse(NSDictionary, CGSize) Method

Definition

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

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

Parameters

dictionaryRepresentation
NSDictionary

The dictionary to parse.

size
CGSize

If successful, the resulting CGSize value.

Returns

true if the dictionary was serialized successfully, false otherwise.

Applies to