MonobjcMonobjc Documented Class Library
AttributedSubstringFromRange Method (theRange)
NamespacesMonobjc.AppKitNSTextViewAttributedSubstringFromRange(NSRange)

Returns an attributed string derived from the given range in the receiver's text storage. (required)

Original signature is '- (NSAttributedString *)attributedSubstringFromRange:(NSRange)theRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSAttributedString AttributedSubstringFromRange(
	NSRange theRange
)
Public Overridable Function AttributedSubstringFromRange ( _
	theRange As NSRange _
) As NSAttributedString
public:
virtual NSAttributedString^ AttributedSubstringFromRange(
	NSRange theRange
)
Parameters
theRange (NSRange)
The range in the text storage from which to create the returned string.
Return Value
The string created from the given range.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)