NSAttributedString.EnumerateAttribute 方法

定义

将回调应用于指定区域中的指定属性。

[Foundation.Export("enumerateAttribute:inRange:options:usingBlock:")]
public virtual void EnumerateAttribute (Foundation.NSString attributeName, Foundation.NSRange inRange, Foundation.NSAttributedStringEnumeration options, Foundation.NSAttributedStringCallback callback);
abstract member EnumerateAttribute : Foundation.NSString * Foundation.NSRange * Foundation.NSAttributedStringEnumeration * Foundation.NSAttributedStringCallback -> unit
override this.EnumerateAttribute : Foundation.NSString * Foundation.NSRange * Foundation.NSAttributedStringEnumeration * Foundation.NSAttributedStringCallback -> unit

参数

attributeName
NSString
inRange
NSRange
属性

适用于