共用方式為


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
屬性

適用於