次の方法で共有


WordSplitBehavior Enumeration

Behavior to use while splitting words in string differencing.

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣言
Public Enumeration WordSplitBehavior
public enum WordSplitBehavior
public enum class WordSplitBehavior
type WordSplitBehavior
public enum WordSplitBehavior

Members

Member name Description
Default Split words by CharacterClass.
CharacterClass Split words by character class.
WhiteSpace Split the text into words by whitespace only.
WhiteSpaceAndPunctuation Split the text into words by whitespace and punctuation/symbols.

Remarks

Word split logic uses the following character classes: 1) whitespace and control characters, 2) numbers/digits, 3) punctuation/symbols, 4) letters.

See Also

Reference

Microsoft.VisualStudio.Text.Differencing Namespace