Constants to specify kinds of substrings and styles of enumeration.
Available in Mac OS X v10.6 and later.
C# | Visual Basic | Visual C++ |
public enum NSStringEnumerationOptions
Public Enumeration NSStringEnumerationOptions
public enum class NSStringEnumerationOptions
Member | Description |
---|---|
NSStringEnumerationByLines | Enumerates by lines. Equivalent to lineRangeForRange:. Available in Mac OS X v10.6 and later. |
NSStringEnumerationByParagraphs | Enumerates by paragraphs. Equivalent to paragraphRangeForRange:. Available in Mac OS X v10.6 and later. |
NSStringEnumerationByComposedCharacterSequences | Enumerates by composed character sequences. Equivalent to rangeOfComposedCharacterSequencesForRange:. Available in Mac OS X v10.6 and later. |
NSStringEnumerationByWords | Enumerates by words. Available in Mac OS X v10.6 and later. |
NSStringEnumerationBySentences | Enumerates by sentences. Available in Mac OS X v10.6 and later. |
NSStringEnumerationReverse | Causes enumeration to occur from the end of the specified range to the start. Available in Mac OS X v10.6 and later. |
NSStringEnumerationSubstringNotRequired | A way to indicate that the block does not need substring, in which case nil will be passed. This is simply a performance shortcut. Available in Mac OS X v10.6 and later. |
NSStringEnumerationLocalized | Causes the enumeration to occur using user's default locale. This does not make a difference in line, paragraph, or composed character sequence enumeration, but it may for words or sentences. Available in Mac OS X v10.6 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)