編輯

共用方式為


NSAttributedString_NSAttributedStringKitAdditions.ContainsAttachments Method

Definition

Returns true if the current NSAttributedString contains attachments in the specified 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

Parameters

This
NSAttributedString

The instance on which this method operates.

range
NSRange

Returns

Attributes

Applies to