NSLayoutManager.GetTemporaryAttributes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetTemporaryAttributes(nuint, NSRange, NSRange)
警告
Always throw a 'NotSupportedException' (only available on macOS).
[System.Obsolete("Always throw a 'NotSupportedException' (only available on macOS).")]
public Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> GetTemporaryAttributes (nuint characterIndex, out Foundation.NSRange longestEffectiveRange, Foundation.NSRange rangeLimit);
member this.GetTemporaryAttributes : nuint * * Foundation.NSRange -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>
參數
- characterIndex
- System.System.UIntPtr System.unativeint
- longestEffectiveRange
- NSRange
- rangeLimit
- NSRange
傳回
- 屬性
適用於
GetTemporaryAttributes(nuint, IntPtr)
警告
Always throw a 'NotSupportedException' (only available on macOS).
[System.Obsolete("Always throw a 'NotSupportedException' (only available on macOS).")]
protected virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> GetTemporaryAttributes (nuint characterIndex, IntPtr effectiveCharacterRange);
abstract member GetTemporaryAttributes : nuint * nativeint -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>
override this.GetTemporaryAttributes : nuint * nativeint -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>
參數
- characterIndex
- System.System.UIntPtr System.unativeint
- effectiveCharacterRange
-
IntPtr
nativeint
傳回
- 屬性
適用於
GetTemporaryAttributes(nuint, IntPtr, NSRange)
警告
Always throw a 'NotSupportedException' (only available on macOS).
[System.Obsolete("Always throw a 'NotSupportedException' (only available on macOS).")]
protected virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> GetTemporaryAttributes (nuint characterIndex, IntPtr longestEffectiveRange, Foundation.NSRange rangeLimit);
abstract member GetTemporaryAttributes : nuint * nativeint * Foundation.NSRange -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>
override this.GetTemporaryAttributes : nuint * nativeint * Foundation.NSRange -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>
參數
- characterIndex
- System.System.UIntPtr System.unativeint
- longestEffectiveRange
-
IntPtr
nativeint
- rangeLimit
- NSRange
傳回
- 屬性
適用於
GetTemporaryAttributes(nuint, NSRange)
警告
Always throw a 'NotSupportedException' (only available on macOS).
[System.Obsolete("Always throw a 'NotSupportedException' (only available on macOS).")]
public Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> GetTemporaryAttributes (nuint characterIndex, out Foundation.NSRange effectiveCharacterRange);
member this.GetTemporaryAttributes : nuint * -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>
參數
- characterIndex
- System.System.UIntPtr System.unativeint
- effectiveCharacterRange
- NSRange
傳回
- 屬性
適用於
GetTemporaryAttributes(nuint)
警告
Always throw a 'NotSupportedException' (only available on macOS).
[System.Obsolete("Always throw a 'NotSupportedException' (only available on macOS).")]
public Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> GetTemporaryAttributes (nuint characterIndex);
member this.GetTemporaryAttributes : nuint -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>
參數
- characterIndex
- System.System.UIntPtr System.unativeint
傳回
- 屬性
適用於
GetTemporaryAttributes(nuint, NSRange)
警告
Always throw a 'NotSupportedException' (only available on macOS).
[System.Obsolete("Always throw a 'NotSupportedException' (only available on macOS).")]
public Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> GetTemporaryAttributes (nuint characterIndex, Foundation.NSRange rangeLimit);
member this.GetTemporaryAttributes : nuint * Foundation.NSRange -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject>
參數
- characterIndex
- System.System.UIntPtr System.unativeint
- rangeLimit
- NSRange
傳回
- 屬性