다음을 통해 공유


NSAttributedString.GetAttribute 메서드

정의

오버로드

GetAttribute(String, nint, NSRange)
GetAttribute(String, nint, NSRange, NSRange)

GetAttribute(String, nint, NSRange)

[Foundation.Export("attribute:atIndex:effectiveRange:")]
public virtual Foundation.NSObject GetAttribute (string attribute, nint location, out Foundation.NSRange effectiveRange);
abstract member GetAttribute : string * nint *  -> Foundation.NSObject
override this.GetAttribute : string * nint *  -> Foundation.NSObject

매개 변수

attribute
String
location
System.System.IntPtr System.nativeint
effectiveRange
NSRange

반환

특성

적용 대상

GetAttribute(String, nint, NSRange, NSRange)

[Foundation.Export("attribute:atIndex:longestEffectiveRange:inRange:")]
public virtual Foundation.NSObject GetAttribute (string attribute, nint location, out Foundation.NSRange longestEffectiveRange, Foundation.NSRange rangeLimit);
abstract member GetAttribute : string * nint *  * Foundation.NSRange -> Foundation.NSObject
override this.GetAttribute : string * nint *  * Foundation.NSRange -> Foundation.NSObject

매개 변수

attribute
String
location
System.System.IntPtr System.nativeint
longestEffectiveRange
NSRange
rangeLimit
NSRange

반환

특성

적용 대상