NSTextView.PerformValidatedReplacement(NSRange, NSAttributedString) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[Foundation.Export("performValidatedReplacementInRange:withAttributedString:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual bool PerformValidatedReplacement (Foundation.NSRange range, Foundation.NSAttributedString attributedString);
abstract member PerformValidatedReplacement : Foundation.NSRange * Foundation.NSAttributedString -> bool
override this.PerformValidatedReplacement : Foundation.NSRange * Foundation.NSAttributedString -> bool
参数
- range
- NSRange
- attributedString
- NSAttributedString
返回
- 属性