NSAttributedString_NSAttributedStringKitAdditions.ContainsAttachments 方法

定义

true如果当前NSAttributedString包含指定的 range中的附件,则返回 。

[Foundation.Export("containsAttachmentsInRange:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool ContainsAttachments (this Foundation.NSAttributedString This, Foundation.NSRange range);
static member ContainsAttachments : Foundation.NSAttributedString * Foundation.NSRange -> bool

参数

This
NSAttributedString

此方法在其上运行的实例。

range
NSRange

返回

属性

适用于