NSAttributedString.GetAttribute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetAttribute(String, IntPtr, NSRange) | |
| GetAttribute(String, IntPtr, NSRange, NSRange) |
GetAttribute(String, IntPtr, NSRange)
[Foundation.Export("attribute:atIndex:effectiveRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject GetAttribute(string attribute, IntPtr location, out Foundation.NSRange effectiveRange);
[<Foundation.Export("attribute:atIndex:effectiveRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetAttribute : string * nativeint * NSRange -> Foundation.NSObject
override this.GetAttribute : string * nativeint * NSRange -> Foundation.NSObject
Parameters
- attribute
- String
- location
-
IntPtr
nativeint
- effectiveRange
- NSRange
Returns
- Attributes
Applies to
GetAttribute(String, IntPtr, NSRange, NSRange)
[Foundation.Export("attribute:atIndex:longestEffectiveRange:inRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject GetAttribute(string attribute, IntPtr location, out Foundation.NSRange longestEffectiveRange, Foundation.NSRange rangeLimit);
[<Foundation.Export("attribute:atIndex:longestEffectiveRange:inRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetAttribute : string * nativeint * NSRange * Foundation.NSRange -> Foundation.NSObject
override this.GetAttribute : string * nativeint * NSRange * Foundation.NSRange -> Foundation.NSObject
Parameters
- attribute
- String
- location
-
IntPtr
nativeint
- longestEffectiveRange
- NSRange
- rangeLimit
- NSRange
Returns
- Attributes