Edit

Share via


NSDateFormatter.ToLocalizedString Method

Definition

Static method to create a localized string, using the specified date, dateStyle, and timeStyle.

[Foundation.Export("localizedStringFromDate:dateStyle:timeStyle:")]
public static string ToLocalizedString (Foundation.NSDate date, Foundation.NSDateFormatterStyle dateStyle, Foundation.NSDateFormatterStyle timeStyle);
static member ToLocalizedString : Foundation.NSDate * Foundation.NSDateFormatterStyle * Foundation.NSDateFormatterStyle -> string

Parameters

date
NSDate

Returns

Attributes

Applies to