System.Text namespaces for UWP apps

System.Text namespaces for UWP apps

 

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 .NET for UWP apps. Note that .NET for UWP 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 .NET for UWP apps.

Types supported in .NET for UWP apps

Description

ASCIIEncoding

Represents an ASCII character encoding of Unicode characters.

T:System.Text.CodePagesEncodingProvider

Provides access to an encoding provider for code pages supported in the desktop .NET Framework but not in .NET Core.

Decoder

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

DecoderExceptionFallback

Provides a failure-handling mechanism; called a fallback; for an encoded input byte sequence that cannot be converted to an input character. The fallback throws an exception instead of decoding the input byte sequence. This class cannot be inherited.

DecoderFallback

Provides a failure-handling mechanism; called a fallback; for an encoded input byte sequence that cannot be converted to an output character.

DecoderFallbackBuffer

Provides a buffer that allows a fallback handler to return an alternate string to a decoder when it cannot decode an input byte sequence.

DecoderFallbackException

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

DecoderReplacementFallback

Provides a failure-handling mechanism; called a fallback; for an encoded input byte sequence that cannot be converted to an output character. The fallback emits a user-specified replacement string instead of a decoded input byte sequence. This class cannot be inherited.

Encoder

Converts a set of characters into a sequence of bytes.

EncoderExceptionFallback

Provides a failure-handling mechanism; called a fallback; for an input character that cannot be converted to an output byte sequence. The fallback throws an exception if an input character cannot be converted to an output byte sequence. This class cannot be inherited.

EncoderFallback

Provides a failure-handling mechanism; called a fallback; for an input character that cannot be converted to an encoded output byte sequence.

EncoderFallbackBuffer

Provides a buffer that allows a fallback handler to return an alternate string to an encoder when it cannot encode an input character.

EncoderFallbackException

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

EncoderReplacementFallback

Provides a failure handling mechanism; called a fallback; for an input character that cannot be converted to an output byte sequence. The fallback uses a user-specified replacement string instead of the original input character. This class cannot be inherited.

Encoding

Represents a character encoding.

EncodingProvider

Provides the base class for an encoding provider; which supplies encodings that are unavailable on a particular platform.

NormalizationForm

Defines the type of normalization to perform.

StringBuilder

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

UnicodeEncoding

Represents a UTF-16 encoding of Unicode characters.

UTF32Encoding

Represents a UTF-32 encoding of Unicode characters.

UTF7Encoding

Represents a UTF-7 encoding of Unicode characters.

UTF8Encoding

Represents a UTF-8 encoding of Unicode characters.

Types supported in the .NET for UWP 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.

Show:
© 2017 Microsoft