Delen via


System.Text namespaces

The System.Text and System.Text.RegularExpressions namespaces contain types for character encoding, string manipulation, and processing text using regular expressions.

This topic displays the types in the System.Text and System.Text.RegularExpressions namespaces that are included in the .NET for Windows Store apps. Note that the .NET for Windows Store apps does not include all the members of each type. For information about individual types, see the linked topics. The documentation for a type indicates which members are included in the .NET for Windows Store apps.

System.Text namespace

Types supported in the .NET for Windows Store apps

Description

Decoder

Converts a sequence of encoded bytes into a set of characters.

DecoderFallbackException

The exception that is thrown when a decoder fallback operation fails. This class cannot be inherited.

Encoder

Converts a set of characters into a sequence of bytes.

EncoderFallbackException

The exception that is thrown when an encoder fallback operation fails. This class cannot be inherited.

Encoding

Represents a character encoding.

StringBuilder

Represents a mutable string of characters. This class cannot be inherited.

UnicodeEncoding

Represents a UTF-16 encoding of Unicode characters.

UTF8Encoding

Represents a UTF-8 encoding of Unicode characters.

System.Text.RegularExpressions namespace

Types supported in the .NET for Windows Store apps

Description

Capture

Represents the results from a single successful subexpression capture.

CaptureCollection

Represents the set of captures made by a single capturing group.

Group

Represents the results from a single capturing group.

GroupCollection

Returns the set of captured groups in a single match.

Match

Represents the results from a single regular expression match.

MatchCollection

Represents the set of successful matches found by iteratively applying a regular expression pattern to the input string.

MatchEvaluator

Represents the method that is called each time a regular expression match is found during a Replace method operation.

Regex

Represents an immutable regular expression.

RegexMatchTimeoutException

The exception that is thrown when the execution time of a regular expression pattern-matching method exceeds its time-out interval.

RegexOptions

Provides enumerated values to use to set regular expression options.

See Also

Concepts

.NET for Windows Store apps - supported APIs