CTFontDescriptor.GetLocalizedAttribute 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.
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.