Szerkesztés

Megosztás a következőn keresztül:


CTFontDescriptor.GetLocalizedAttribute Method

Definition

Overloads

GetLocalizedAttribute(NSString, NSString)

Returns an attribute that has been localized.

GetLocalizedAttribute(NSString)

Returns an attribute that has been localized.

GetLocalizedAttribute(NSString, NSString)

Returns an attribute that has been localized.

public Foundation.NSObject GetLocalizedAttribute (Foundation.NSString attribute, out Foundation.NSString language);
member this.GetLocalizedAttribute : Foundation.NSString *  -> Foundation.NSObject

Parameters

attribute
NSString

An NSString representing a CTFontDescriptor attribute, one of the keys in CTFontDescriptorAttributeKey.

language
NSString

On output, the language code that matched (if available).

Returns

The attribute as an NSObject or null if not available.

Applies to

GetLocalizedAttribute(NSString)

Returns an attribute that has been localized.

public Foundation.NSObject GetLocalizedAttribute (Foundation.NSString attribute);
member this.GetLocalizedAttribute : Foundation.NSString -> Foundation.NSObject

Parameters

attribute
NSString

An NSString representing a CTFontDescriptor attribute, one of the keys in CTFontDescriptorAttributeKey.

Returns

The attribute as an NSObject, or null if not available.

Applies to