Forum Xamarin.Mac

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

NSFormatter.IsPartialStringValid Method

GT4485GT4485 Member ✭✭

Hello.
About
IsPartialStringValid(ref string partialString, out Foundation.NSRange proposedSelRange, string origString, Foundation.NSRange origSelRange, out string error)
Why is proposedSelRange a "out" parameter? This inhibit the method to read the given value (compile error), while a meaningful value is provided by the caller.
Looking to the Apple doc, I think it should be a ref parameter.

Answers

Sign In or Register to comment.