NSString.Capitalize(NSLocale) Method

Definition

Capitalizes a string using the rules of the specified locale.

[Foundation.Export("capitalizedStringWithLocale:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string Capitalize (Foundation.NSLocale locale);
abstract member Capitalize : Foundation.NSLocale -> string
override this.Capitalize : Foundation.NSLocale -> string

Parameters

locale
NSLocale

The locale to use for this operation.

This parameter can be null.

Returns

Attributes

Applies to