次の方法で共有


UITextViewDelegate_Extensions.ShouldInteractWithUrl メソッド

定義

オーバーロード

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange)

指定した UITextView で、指定したテキスト範囲の指定された URL とのユーザー操作を許可するかどうか。

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange, UITextItemInteraction)

指定した UITextView で、指定したテキスト範囲の指定された URL とのユーザー操作を許可するかどうか。

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange)

指定した UITextView で、指定したテキスト範囲の指定された URL とのユーザー操作を許可するかどうか。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use the 'ShouldInteractWithUrl' overload that takes 'UITextItemInteraction' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool ShouldInteractWithUrl (this UIKit.IUITextViewDelegate This, UIKit.UITextView textView, Foundation.NSUrl URL, Foundation.NSRange characterRange);
static member ShouldInteractWithUrl : UIKit.IUITextViewDelegate * UIKit.UITextView * Foundation.NSUrl * Foundation.NSRange -> bool

パラメーター

This
IUITextViewDelegate

この拡張メソッドが動作するインスタンス。

textView
UITextView
URL
NSUrl
characterRange
NSRange

戻り値

属性

適用対象

ShouldInteractWithUrl(IUITextViewDelegate, UITextView, NSUrl, NSRange, UITextItemInteraction)

指定した UITextView で、指定したテキスト範囲の指定された URL とのユーザー操作を許可するかどうか。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool ShouldInteractWithUrl (this UIKit.IUITextViewDelegate This, UIKit.UITextView textView, Foundation.NSUrl url, Foundation.NSRange characterRange, UIKit.UITextItemInteraction interaction);
static member ShouldInteractWithUrl : UIKit.IUITextViewDelegate * UIKit.UITextView * Foundation.NSUrl * Foundation.NSRange * UIKit.UITextItemInteraction -> bool

パラメーター

This
IUITextViewDelegate

この拡張メソッドが動作するインスタンス。

textView
UITextView

添付ファイルを含むテキスト ビュー。

url
NSUrl
characterRange
NSRange

テキスト ビューの URL の文字範囲。

interaction
UITextItemInteraction

チェックする相互作用の種類。

戻り値

属性

適用対象