NSAttributedString.EnumerateAttributes 方法

定义

将回调应用于指定范围中的所有属性。

[Foundation.Export("enumerateAttributesInRange:options:usingBlock:")]
public virtual void EnumerateAttributes (Foundation.NSRange range, Foundation.NSAttributedStringEnumeration options, Foundation.NSAttributedRangeCallback callback);
abstract member EnumerateAttributes : Foundation.NSRange * Foundation.NSAttributedStringEnumeration * Foundation.NSAttributedRangeCallback -> unit
override this.EnumerateAttributes : Foundation.NSRange * Foundation.NSAttributedStringEnumeration * Foundation.NSAttributedRangeCallback -> unit

参数

range
NSRange
属性

适用于