NSArray.FromNullableStrings(String[]) 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.
Creates an NSArray from a potentially null array of strings.
public static Foundation.NSArray? FromNullableStrings(params string?[]? items);
static member FromNullableStrings : string[] -> Foundation.NSArray
Parameters
- items
- String[]
Array of C# strings, or null.
Returns
A new NSArray containing the strings, or null if items is null.
Remarks
If any string in items is null, a NSNull entry will be created for that element.