Share via


NSAttributedString_NSAttributedStringKitAdditions.ContainsAttachments Method

Definition

Returns true if the current NSAttributedString contains attachments in the specified range.

[Foundation.Export("containsAttachmentsInRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool ContainsAttachments(this Foundation.NSAttributedString This, Foundation.NSRange range);
[<Foundation.Export("containsAttachmentsInRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ContainsAttachments : Foundation.NSAttributedString * Foundation.NSRange -> bool

Parameters

This
NSAttributedString

The instance on which this method operates.

range
NSRange

Returns

Attributes

Applies to