Edit

Share via


NSTextView.SelectionRange(NSRange, NSSelectionGranularity) Method

Definition

[Foundation.Export("selectionRangeForProposedRange:granularity:")]
public virtual Foundation.NSRange SelectionRange (Foundation.NSRange proposedCharRange, AppKit.NSSelectionGranularity granularity);
abstract member SelectionRange : Foundation.NSRange * AppKit.NSSelectionGranularity -> Foundation.NSRange
override this.SelectionRange : Foundation.NSRange * AppKit.NSSelectionGranularity -> Foundation.NSRange

Parameters

proposedCharRange
NSRange

Returns

Attributes

Applies to