語言

NSAttributedString.GetAppKitAttributes 方法

定義

多載

名稱 Description
GetAppKitAttributes(IntPtr, NSRange)

在指定位置回傳 AppKit 字串屬性。

GetAppKitAttributes(IntPtr, NSRange, NSRange)

在指定範圍內的指定位置回傳 AppKit 字串屬性。

GetAppKitAttributes(IntPtr, NSRange)

在指定位置回傳 AppKit 字串屬性。

public AppKit.NSStringAttributes? GetAppKitAttributes(IntPtr location, out Foundation.NSRange effectiveRange);
member this.GetAppKitAttributes : nativeint * NSRange -> AppKit.NSStringAttributes

參數

location
IntPtr

nativeint

位置。

effectiveRange
NSRange

有效範圍。

傳回

適用於

GetAppKitAttributes(IntPtr, NSRange, NSRange)

在指定範圍內的指定位置回傳 AppKit 字串屬性。

public AppKit.NSStringAttributes? GetAppKitAttributes(IntPtr location, out Foundation.NSRange longestEffectiveRange, Foundation.NSRange rangeLimit);
member this.GetAppKitAttributes : nativeint * NSRange * Foundation.NSRange -> AppKit.NSStringAttributes

參數

location
IntPtr

nativeint

位置。

longestEffectiveRange
NSRange

最長的有效射程。

rangeLimit
NSRange

射程極限。

傳回

適用於