Selects a range of nodes.
Original signature is '- (void)setSelectedDOMRange:(DOMRange *)range affinity:(NSSelectionAffinity)selectionAffinity'
Available in Mac OS X v10.3.9 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void SetSelectedDOMRangeAffinity( IntPtr range, NSSelectionAffinity selectionAffinity )
Public Overridable Sub SetSelectedDOMRangeAffinity ( _ range As IntPtr, _ selectionAffinity As NSSelectionAffinity _ )
public: virtual void SetSelectedDOMRangeAffinity( IntPtr range, NSSelectionAffinity selectionAffinity )
Parameters
- range (IntPtr)
- The range of nodes to select. If range is nil, the current selection is cleared. This method raises a DOMRangeExcepton if the range has been detached or refers to nodes not displayed by the receiver.
- selectionAffinity (NSSelectionAffinity)
- See the selectionAffinity method for information on selection affinity.
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)