編輯

共用方式為


NSAttributedString.EnumerateAttribute Method

Definition

Applies the callback to the specified attribute in the specified range.

[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

Parameters

attributeName
NSString
inRange
NSRange
Attributes

Applies to