|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009 |
- <?xml version="1.0" encoding="utf-8"?>
- <doc>
- <assembly>
- <name>System.Text.Encoding.Extensions</name>
- </assembly>
- <members>
- <member name="T:System.Text.ASCIIEncoding">
- <summary>表示 Unicode 字符的 ASCII 字符编码。</summary>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.#ctor">
- <summary>初始化 <see cref="T:System.Text.ASCIIEncoding" /> 类的新实例。</summary>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetByteCount(System.Char*,System.Int32)">
- <summary>计算对从指定的字符指针开始的一组字符进行编码时产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="chars">指向第一个要编码的字符的指针。</param>
- <param name="count">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> 为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="count" /> 小于零。- 或 -产生的字节数超过了作为一个整数返回时允许的最大字节数。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetByteCount(System.Char[],System.Int32,System.Int32)">
- <summary>计算对指定字符数组中的一组字符进行编码时产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="chars">包含要编码的字符集的字符数组。</param>
- <param name="index">第一个要编码的字符的索引。</param>
- <param name="count">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> 为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> 或 <paramref name="count" /> 小于零。- 或 -<paramref name="index" /> 和 <paramref name="count" /> 不表示 <paramref name="chars" /> 中的有效范围。- 或 -产生的字节数超过了作为一个整数返回时允许的最大字节数。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetByteCount(System.String)">
- <summary>计算对指定 <see cref="T:System.String" /> 中的字符进行编码时所产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="chars">包含要编码的字符集的 <see cref="T:System.String" />。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> 为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">产生的字节数超过了作为一个整数返回时允许的最大字节数。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32)">
- <summary>将从指定的字符指针开始的一组字符编码为一个字节序列,并从指定的字节指针开始存储该字节序列。</summary>
- <returns>在由 <paramref name="bytes" /> 指示的位置处写入的实际字节数。</returns>
- <param name="chars">指向第一个要编码的字符的指针。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">一个指针,指向开始写入所产生的字节序列的位置。</param>
- <param name="byteCount">最多写入的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> 为 null。- 或 -<paramref name="bytes" /> 为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charCount" /> 或 <paramref name="byteCount" /> 小于零。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="byteCount" /> 少于所产生的字节数。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32)">
- <summary>将指定字符数组中的一组字符编码到指定的字节数组中。</summary>
- <returns>写入 <paramref name="bytes" /> 的实际字节数。</returns>
- <param name="chars">包含要编码的字符集的字符数组。</param>
- <param name="charIndex">第一个要编码的字符的索引。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">要包含所产生的字节序列的字节数组。</param>
- <param name="byteIndex">开始写入所产生的字节序列的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> 为 null。- 或 -<paramref name="bytes" /> 为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charIndex" />、<paramref name="charCount" /> 或 <paramref name="byteIndex" /> 小于零。- 或 -<paramref name="charIndex" /> 和 <paramref name="charCount" /> 不表示 <paramref name="chars" /> 中的有效范围。- 或 -<paramref name="byteIndex" /> 不是 <paramref name="bytes" /> 中的有效索引。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="bytes" /> 中从 <paramref name="byteIndex" /> 到数组结尾没有足够的容量来容纳所产生的字节。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)">
- <summary>将指定 <see cref="T:System.String" /> 中的一组字符编码到指定的字节数组中。</summary>
- <returns>写入 <paramref name="bytes" /> 的实际字节数。</returns>
- <param name="chars">包含要编码的字符集的 <see cref="T:System.String" />。</param>
- <param name="charIndex">第一个要编码的字符的索引。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">要包含所产生的字节序列的字节数组。</param>
- <param name="byteIndex">开始写入所产生的字节序列的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="s" /> 为 null。- 或 -<paramref name="bytes" /> 为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charIndex" />、<paramref name="charCount" /> 或 <paramref name="byteIndex" /> 小于零。- 或 -<paramref name="charIndex" /> 和 <paramref name="charCount" /> 不表示 <paramref name="chars" /> 中的有效范围。- 或 -<paramref name="byteIndex" /> 不是 <paramref name="bytes" /> 中的有效索引。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="bytes" /> 中从 <paramref name="byteIndex" /> 到数组结尾没有足够的容量来容纳所产生的字节。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetCharCount(System.Byte*,System.Int32)">
- <summary>计算对一个字节序列(从指定的字节指针开始)进行解码所产生的字符数。</summary>
- <returns>对指定字节序列进行解码所产生的字符数。</returns>
- <param name="bytes">指向第一个要解码的字节的指针。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> 为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="count" /> 小于零。- 或 -产生的字节数超过了作为一个整数返回时允许的最大字节数。</exception>
- <exception cref="T:System.Text.DecoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.DecoderFallback" /> 设置为 <see cref="T:System.Text.DecoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetCharCount(System.Byte[],System.Int32,System.Int32)">
- <summary>计算对指定字节数组中的一个字节序列进行解码所产生的字符数。</summary>
- <returns>对指定字节序列进行解码所产生的字符数。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="index">第一个要解码的字节的索引。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> 为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> 或 <paramref name="count" /> 小于零。- 或 -<paramref name="index" /> 和 <paramref name="count" /> 不表示 <paramref name="bytes" /> 中的有效范围。- 或 -产生的字节数超过了作为一个整数返回时允许的最大字节数。</exception>
- <exception cref="T:System.Text.DecoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.DecoderFallback" /> 设置为 <see cref="T:System.Text.DecoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetChars(System.Byte*,System.Int32,System.Char*,System.Int32)">
- <summary>将从指定的字节指针开始的一个字节序列解码为一组字符,并从指定的字符指针开始存储这组字符。</summary>
- <returns>在由 <paramref name="chars" /> 指示的位置处写入的实际字符数。</returns>
- <param name="bytes">指向第一个要解码的字节的指针。</param>
- <param name="byteCount">要解码的字节数。</param>
- <param name="chars">一个指针,指向开始写入所产生的字符集的位置。</param>
- <param name="charCount">要写入的最大字符数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> 为 null。- 或 -<paramref name="chars" /> 为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteCount" /> 或 <paramref name="charCount" /> 小于零。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="charCount" /> 少于所产生的字符数。</exception>
- <exception cref="T:System.Text.DecoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.DecoderFallback" /> 设置为 <see cref="T:System.Text.DecoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)">
- <summary>将指定字节数组中的一个字节序列解码为指定的字符数组。</summary>
- <returns>写入 <paramref name="chars" /> 的实际字符数。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="byteIndex">第一个要解码的字节的索引。</param>
- <param name="byteCount">要解码的字节数。</param>
- <param name="chars">要用于包含所产生的字符集的字符数组。</param>
- <param name="charIndex">开始写入所产生的字符集的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> 为 null。- 或 -<paramref name="chars" /> 为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteIndex" />、<paramref name="byteCount" /> 或 <paramref name="charIndex" /> 小于零。- 或 -<paramref name="byteindex" /> 和 <paramref name="byteCount" /> 不表示 <paramref name="bytes" /> 中的有效范围。- 或 -<paramref name="charIndex" /> 不是 <paramref name="chars" /> 中的有效索引。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="chars" /> 中从 <paramref name="charIndex" /> 到数组结尾没有足够容量来容纳所产生的字符。</exception>
- <exception cref="T:System.Text.DecoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.DecoderFallback" /> 设置为 <see cref="T:System.Text.DecoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetDecoder">
- <summary>获取可以将 ASCII 编码的字节序列转换为 Unicode 字符序列的解码器。</summary>
- <returns>
- <see cref="T:System.Text.Decoder" /> 用于将 ASCII 编码的字节序列转换为 Unicode 字符序列。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetEncoder">
- <summary>获取可将 Unicode 字符序列转换为 ASCII 编码的字节序列的编码器。</summary>
- <returns>一个 <see cref="T:System.Text.Encoder" />,它将一个 Unicode 字符序列转换为一个 ASCII 编码的字节序列。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetMaxByteCount(System.Int32)">
- <summary>计算对指定数目的字符进行编码时产生的最大字节数。</summary>
- <returns>对指定数目的字符进行编码所产生的最大字节数。</returns>
- <param name="charCount">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charCount" /> 小于零。- 或 -产生的字节数超过了作为一个整数返回时允许的最大字节数。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetMaxCharCount(System.Int32)">
- <summary>计算对指定数目的字节进行解码时产生的最大字符数。</summary>
- <returns>对指定数目的字节进行解码时所产生的最大字符数。</returns>
- <param name="byteCount">要解码的字节数。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteCount" /> 小于零。- 或 -产生的字节数超过了作为一个整数返回时允许的最大字节数。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.ASCIIEncoding.GetString(System.Byte[],System.Int32,System.Int32)">
- <summary>将字节数组中某个范围的字节解码为一个字符串。</summary>
- <returns>包含指定字节序列解码结果的 <see cref="T:System.String" />。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="byteIndex">第一个要解码的字节的索引。</param>
- <param name="byteCount">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> 为 null。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> 或 <paramref name="count" /> 小于零。- 或 -<paramref name="index" /> 和 <paramref name="count" /> 不表示 <paramref name="bytes" /> 中的有效范围。</exception>
- <exception cref="T:System.Text.DecoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.DecoderFallback" /> 设置为 <see cref="T:System.Text.DecoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="P:System.Text.ASCIIEncoding.IsSingleByte">
- <summary>获取一个可以指示当前编码是否使用单字节码位的值。</summary>
- <returns>此属性恒为 true。</returns>
- <filterpriority>2</filterpriority>
- </member>
- <member name="T:System.Text.UnicodeEncoding">
- <summary>表示 Unicode 字符的 UTF-16 编码。</summary>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.#ctor">
- <summary>初始化 <see cref="T:System.Text.UnicodeEncoding" /> 类的新实例。</summary>
- </member>
- <member name="M:System.Text.UnicodeEncoding.#ctor(System.Boolean,System.Boolean)">
- <summary>初始化 <see cref="T:System.Text.UnicodeEncoding" /> 类的新实例。参数指定是否使用 Big-Endian 字节顺序以及 <see cref="M:System.Text.UnicodeEncoding.GetPreamble" /> 方法是否返回 Unicode 字节顺序标记。</summary>
- <param name="bigEndian">如果为 true,则使用 Big-Endian 字节顺序(从最高有效字节开始);如果为 false,则使用 Little-Endian 字节顺序(从最低有效字节开始)。</param>
- <param name="byteOrderMark">如果为 true,则指定 <see cref="M:System.Text.UnicodeEncoding.GetPreamble" /> 方法返回 Unicode 字节顺序标记;否则为 false。有关详细信息,请参阅备注部分。</param>
- </member>
- <member name="M:System.Text.UnicodeEncoding.#ctor(System.Boolean,System.Boolean,System.Boolean)">
- <summary>初始化 <see cref="T:System.Text.UnicodeEncoding" /> 类的新实例。参数指定是否使用 Big-Endian 字节顺序、是否提供 Unicode 字节顺序标记以及当检测到无效编码时是否引发异常。</summary>
- <param name="bigEndian">如果为 true,则使用 Big-Endian 字节顺序(从最高有效字节开始);如果为 false,则使用 Little-Endian 字节顺序(从最低有效字节开始)。</param>
- <param name="byteOrderMark">如果为 true,则指定 <see cref="M:System.Text.UnicodeEncoding.GetPreamble" /> 方法返回 Unicode 字节顺序标记;否则为 false。有关详细信息,请参阅备注部分。</param>
- <param name="throwOnInvalidBytes">如果为 true,则指定在检测到无效的编码时应当引发异常;否则为 false。</param>
- </member>
- <member name="M:System.Text.UnicodeEncoding.Equals(System.Object)">
- <summary>确定指定的 <see cref="T:System.Object" /> 是否等于当前的 <see cref="T:System.Text.UnicodeEncoding" /> 对象。</summary>
- <returns>如果 <paramref name="value" /> 是 <see cref="T:System.Text.UnicodeEncoding" /> 的一个实例并且等于当前对象,则为 true;否则,为 false。</returns>
- <param name="value">要与当前对象进行比较的对象。</param>
- <filterpriority>2</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetByteCount(System.Char[],System.Int32,System.Int32)">
- <summary>计算对指定字符数组中的一组字符进行编码时产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="chars">包含要编码的字符集的字符数组。</param>
- <param name="index">第一个要编码的字符的索引。</param>
- <param name="count">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> is null (Nothing). </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> or <paramref name="count" /> is less than zero.-or- <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetByteCount(System.String)">
- <summary>计算对指定字符串中的字符进行编码时所产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="s">包含要编码的字符集的字符串。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="s" /> is null . </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32)">
- <summary>将指定字符数组中的一组字符编码到指定的字节数组中。</summary>
- <returns>写入 <paramref name="bytes" /> 的实际字节数。</returns>
- <param name="chars">包含要编码的字符集的字符数组。</param>
- <param name="charIndex">第一个要编码的字符的索引。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">要包含所产生的字节序列的字节数组。</param>
- <param name="byteIndex">要开始写入所产生的字节序列的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> is null (Nothing).-or- <paramref name="bytes" /> is null (Nothing). </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)">
- <summary>将指定 <see cref="T:System.String" /> 中的一组字符编码到指定的字节数组中。</summary>
- <returns>写入 <paramref name="bytes" /> 的实际字节数。</returns>
- <param name="s">包含要编码的字符集的字符串。</param>
- <param name="charIndex">第一个要编码的字符的索引。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">要包含所产生的字节序列的字节数组。</param>
- <param name="byteIndex">要开始写入所产生的字节序列的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="s" /> is null .-or- <paramref name="bytes" /> is null (Nothing). </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetCharCount(System.Byte[],System.Int32,System.Int32)">
- <summary>计算对指定字节数组中的一个字节序列进行解码所产生的字符数。</summary>
- <returns>对指定字节序列进行解码所产生的字符数。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="index">第一个要解码的字节的索引。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null (Nothing). </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> or <paramref name="count" /> is less than zero.-or- <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for fuller explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)">
- <summary>将指定字节数组中的一个字节序列解码为指定的字符数组。</summary>
- <returns>写入 <paramref name="chars" /> 的实际字符数。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="byteIndex">第一个要解码的字节的索引。</param>
- <param name="byteCount">要解码的字节数。</param>
- <param name="chars">要用于包含所产生的字符集的字符数组。</param>
- <param name="charIndex">开始写入所产生的字符集的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null (Nothing).-or- <paramref name="chars" /> is null (Nothing). </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.-or- <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.-or- <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.-or- <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for fuller explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetDecoder">
- <summary>获取可以将 UTF-16 编码的字节序列转换为 Unicode 字符序列的解码器。</summary>
- <returns>一个 <see cref="T:System.Text.Decoder" />,用于将 UTF-16 编码的字节序列转换为 Unicode 字符序列。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetEncoder">
- <summary>获取可将 Unicode 字符序列转换为 UTF-16 编码的字节序列的编码器。</summary>
- <returns>将 Unicode 字符序列转换为 UTF-16 编码字节序列的 <see cref="T:System.Text.Encoder" /> 对象。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetHashCode">
- <summary>返回当前实例的哈希代码。</summary>
- <returns>当前 <see cref="T:System.Text.UnicodeEncoding" /> 对象的哈希代码。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetMaxByteCount(System.Int32)">
- <summary>计算对指定数目的字符进行编码时产生的最大字节数。</summary>
- <returns>对指定数目的字符进行编码所产生的最大字节数。</returns>
- <param name="charCount">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetMaxCharCount(System.Int32)">
- <summary>计算对指定数目的字节进行解码时产生的最大字符数。</summary>
- <returns>对指定数目的字节进行解码时所产生的最大字符数。</returns>
- <param name="byteCount">要解码的字节数。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for fuller explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetPreamble">
- <summary>如果此实例的构造函数请求一个字节顺序标记,则将返回用 UTF-16 格式编码的 Unicode 字节顺序标记。</summary>
- <returns>一个包含 Unicode 字节顺序标记的字节数组(如果 <see cref="T:System.Text.UnicodeEncoding" /> 对象配置为提供一个这样的字节数组)。否则,此方法返回一个零长度的字节数组。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UnicodeEncoding.GetString(System.Byte[],System.Int32,System.Int32)">
- <summary>将字节数组中某个范围的字节解码为一个字符串。</summary>
- <returns>包含指定字节序列解码结果的 <see cref="T:System.String" /> 对象。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="index">第一个要解码的字节的索引。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null (Nothing). </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> or <paramref name="count" /> is less than zero.-or- <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for fuller explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="T:System.Text.UTF32Encoding">
- <summary>表示 Unicode 字符的 UTF-32 编码。</summary>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.#ctor">
- <summary>初始化 <see cref="T:System.Text.UTF32Encoding" /> 类的新实例。</summary>
- </member>
- <member name="M:System.Text.UTF32Encoding.#ctor(System.Boolean,System.Boolean)">
- <summary>初始化 <see cref="T:System.Text.UTF32Encoding" /> 类的新实例。参数指定是否使用 Big-Endian 字节顺序以及 <see cref="M:System.Text.UTF32Encoding.GetPreamble" /> 方法是否返回 Unicode Unicode 字节顺序标记。</summary>
- <param name="bigEndian">如果为 true,则使用 Big-Endian 字节顺序(从最高有效字节开始);如果为 false,则使用 Little-Endian 字节顺序(从最低有效字节开始)。</param>
- <param name="byteOrderMark">如果为 true,则指定提供 Unicode 字节顺序标记;否则为 false。</param>
- </member>
- <member name="M:System.Text.UTF32Encoding.#ctor(System.Boolean,System.Boolean,System.Boolean)">
- <summary>初始化 <see cref="T:System.Text.UTF32Encoding" /> 类的新实例。参数指定是否使用 Big-Endian 字节顺序、是否提供 Unicode 字节顺序标记以及当检测到无效编码时是否引发异常。</summary>
- <param name="bigEndian">如果为 true,则使用 Big-Endian 字节顺序(从最高有效字节开始);如果为 false,则使用 Little-Endian 字节顺序(从最低有效字节开始)。</param>
- <param name="byteOrderMark">如果为 true,则指定提供 Unicode 字节顺序标记;否则为 false。</param>
- <param name="throwOnInvalidCharacters">如果为 true,则指定在检测到无效的编码时应当引发异常;否则为 false。</param>
- </member>
- <member name="M:System.Text.UTF32Encoding.Equals(System.Object)">
- <summary>确定指定的 <see cref="T:System.Object" /> 是否等于当前的 <see cref="T:System.Text.UTF32Encoding" /> 对象。</summary>
- <returns>如果 <paramref name="value" /> 是 <see cref="T:System.Text.UTF32Encoding" /> 的一个实例并且等于当前对象,则为 true;否则,为 false。</returns>
- <param name="value">要与当前对象进行比较的 <see cref="T:System.Object" />。</param>
- <filterpriority>2</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetByteCount(System.Char*,System.Int32)">
- <summary>计算对从指定的字符指针开始的一组字符进行编码时产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="chars">指向第一个要编码的字符的指针。</param>
- <param name="count">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="count" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetByteCount(System.Char[],System.Int32,System.Int32)">
- <summary>计算对指定字符数组中的一组字符进行编码时产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="chars">包含要编码的字符集的字符数组。</param>
- <param name="index">第一个要编码的字符的索引。</param>
- <param name="count">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> or <paramref name="count" /> is less than zero.-or- <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetByteCount(System.String)">
- <summary>计算对指定 <see cref="T:System.String" /> 中的字符进行编码时所产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="s">包含要编码的字符集的 <see cref="T:System.String" />。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="s" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32)">
- <summary>将从指定的字符指针开始的一组字符编码为一个字节序列,并从指定的字节指针开始存储该字节序列。</summary>
- <returns>在由 <paramref name="bytes" /> 参数指示的位置处写入的实际字节数。</returns>
- <param name="chars">指向第一个要编码的字符的指针。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">一个指针,指向开始写入所产生的字节序列的位置。</param>
- <param name="byteCount">最多写入的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> is null.-or- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.-or- <paramref name="byteCount" /> is less than the resulting number of bytes. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32)">
- <summary>将指定字符数组中的一组字符编码到指定的字节数组中。</summary>
- <returns>写入 <paramref name="bytes" /> 的实际字节数。</returns>
- <param name="chars">包含要编码的字符集的字符数组。</param>
- <param name="charIndex">第一个要编码的字符的索引。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">要包含所产生的字节序列的字节数组。</param>
- <param name="byteIndex">要开始写入所产生的字节序列的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> is null.-or- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)">
- <summary>将指定 <see cref="T:System.String" /> 中的一组字符编码到指定的字节数组中。</summary>
- <returns>写入 <paramref name="bytes" /> 的实际字节数。</returns>
- <param name="s">包含要编码的字符集的 <see cref="T:System.String" />。</param>
- <param name="charIndex">第一个要编码的字符的索引。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">要包含所产生的字节序列的字节数组。</param>
- <param name="byteIndex">要开始写入所产生的字节序列的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="s" /> is null.-or- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetCharCount(System.Byte*,System.Int32)">
- <summary>计算对一个字节序列(从指定的字节指针开始)进行解码所产生的字符数。</summary>
- <returns>对指定字节序列进行解码所产生的字符数。</returns>
- <param name="bytes">指向第一个要解码的字节的指针。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="count" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetCharCount(System.Byte[],System.Int32,System.Int32)">
- <summary>计算对指定字节数组中的一个字节序列进行解码所产生的字符数。</summary>
- <returns>对指定字节序列进行解码所产生的字符数。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="index">第一个要解码的字节的索引。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> or <paramref name="count" /> is less than zero.-or- <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetChars(System.Byte*,System.Int32,System.Char*,System.Int32)">
- <summary>将从指定的字节指针开始的一个字节序列解码为一组字符,并从指定的字符指针开始存储这组字符。</summary>
- <returns>在由 <paramref name="chars" /> 指示的位置处写入的实际字符数。</returns>
- <param name="bytes">指向第一个要解码的字节的指针。</param>
- <param name="byteCount">要解码的字节数。</param>
- <param name="chars">一个指针,指向开始写入所产生的字符集的位置。</param>
- <param name="charCount">要写入的最大字符数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null.-or- <paramref name="chars" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.-or- <paramref name="charCount" /> is less than the resulting number of characters. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)">
- <summary>将指定字节数组中的一个字节序列解码为指定的字符数组。</summary>
- <returns>写入 <paramref name="chars" /> 的实际字符数。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="byteIndex">第一个要解码的字节的索引。</param>
- <param name="byteCount">要解码的字节数。</param>
- <param name="chars">要用于包含所产生的字符集的字符数组。</param>
- <param name="charIndex">开始写入所产生的字符集的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null.-or- <paramref name="chars" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.-or- <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.-or- <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.-or- <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetDecoder">
- <summary>获取可以将 UTF-32 编码的字节序列转换为 Unicode 字符序列的解码器。</summary>
- <returns>一个 <see cref="T:System.Text.Decoder" />,用于将 UTF-32 编码的字节序列转换为 Unicode 字符序列。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetEncoder">
- <summary>获取可将 Unicode 字符序列转换为 UTF-32 编码的字节序列的编码器。</summary>
- <returns>一个 <see cref="T:System.Text.Encoder" />,用于将 Unicode 字符序列转换为 UTF-32 编码的字节序列。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetHashCode">
- <summary>返回当前实例的哈希代码。</summary>
- <returns>当前 <see cref="T:System.Text.UTF32Encoding" /> 对象的哈希代码。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetMaxByteCount(System.Int32)">
- <summary>计算对指定数目的字符进行编码时产生的最大字节数。</summary>
- <returns>对指定数目的字符进行编码所产生的最大字节数。</returns>
- <param name="charCount">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetMaxCharCount(System.Int32)">
- <summary>计算对指定数目的字节进行解码时产生的最大字符数。</summary>
- <returns>对指定数目的字节进行解码时所产生的最大字符数。</returns>
- <param name="byteCount">要解码的字节数。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetPreamble">
- <summary>如果此实例的构造函数请求一个字节顺序标记,则将返回用 UTF-32 格式编码的 Unicode 字节顺序标记。</summary>
- <returns>如果此实例的构造函数请求一个字节顺序标记,则将返回一个包含 Unicode 字节顺序标记的字节数组。否则,此方法将返回一个长度零的字节数组。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF32Encoding.GetString(System.Byte[],System.Int32,System.Int32)">
- <summary>将字节数组中某个范围的字节解码为一个字符串。</summary>
- <returns>包含指定字节序列解码结果的 <see cref="T:System.String" />。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="index">第一个要解码的字节的索引。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> or <paramref name="count" /> is less than zero.-or- <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="T:System.Text.UTF7Encoding">
- <summary>表示 Unicode 字符的 UTF-7 编码。</summary>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.#ctor">
- <summary>初始化 <see cref="T:System.Text.UTF7Encoding" /> 类的新实例。</summary>
- </member>
- <member name="M:System.Text.UTF7Encoding.#ctor(System.Boolean)">
- <summary>初始化 <see cref="T:System.Text.UTF7Encoding" /> 类的新实例。一个参数指定是否允许可选字符。</summary>
- <param name="allowOptionals">如果为 true,则允许指定可选字符;否则为 false。</param>
- </member>
- <member name="M:System.Text.UTF7Encoding.Equals(System.Object)">
- <summary>获取一个值,该值指示指定的对象是否等于当前的 <see cref="T:System.Text.UTF7Encoding" /> 对象。</summary>
- <returns>如果 <paramref name="value" /> 是一个 <see cref="T:System.Text.UTF7Encoding" /> 对象且等于当前的 <see cref="T:System.Text.UTF7Encoding" /> 对象,则为 true;否则为 false。</returns>
- <param name="value">要与当前的 <see cref="T:System.Text.UTF7Encoding" /> 对象进行比较的对象。</param>
- <filterpriority>2</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetByteCount(System.Char*,System.Int32)">
- <summary>计算对从指定的字符指针开始的一组字符进行编码时产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="chars">指向第一个要编码的字符的指针。</param>
- <param name="count">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> 是 null (在 Visual Basic .NET 中为 Nothing )。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="count" /> 小于零。- 或 -产生的字节数超过了作为一个整数返回时允许的最大字节数。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetByteCount(System.Char[],System.Int32,System.Int32)">
- <summary>计算对指定字符数组中的一组字符进行编码时产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="chars">包含要编码的字符集的字符数组。</param>
- <param name="index">第一个要编码的字符的索引。</param>
- <param name="count">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> 为 null (Nothing)。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> 或 <paramref name="count" /> 小于零。- 或 -<paramref name="index" /> 和 <paramref name="count" /> 不表示 <paramref name="chars" /> 中的有效范围。- 或 -产生的字节数超过了作为一个整数返回时允许的最大字节数。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetByteCount(System.String)">
- <summary>计算对指定 <see cref="T:System.String" /> 对象中的字符进行编码时所产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="s">包含要编码的字符集的 <see cref="T:System.String" /> 对象。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="s" /> 为 null (Nothing)。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">产生的字节数超过了作为一个整数返回时允许的最大字节数。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得更详细的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32)">
- <summary>将从指定的字符指针开始的一组字符编码为一个字节序列,并从指定的字节指针开始存储该字节序列。</summary>
- <returns>在由 <paramref name="bytes" /> 指示的位置处写入的实际字节数。</returns>
- <param name="chars">指向第一个要编码的字符的指针。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">一个指针,指向开始写入所产生的字节序列的位置。</param>
- <param name="byteCount">最多写入的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> 为 null (Nothing)。- 或 -<paramref name="bytes" /> 为 null (Nothing)。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charCount" /> 或 <paramref name="byteCount" /> 小于零。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="byteCount" /> 少于所产生的字节数。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得更详细的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32)">
- <summary>将指定字符数组中的一组字符编码到指定的字节数组中。</summary>
- <returns>写入 <paramref name="bytes" /> 的实际字节数。</returns>
- <param name="chars">包含要编码的字符集的字符数组。</param>
- <param name="charIndex">第一个要编码的字符的索引。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">要包含所产生的字节序列的字节数组。</param>
- <param name="byteIndex">开始写入所产生的字节序列的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> 为 null (Nothing)。- 或 -<paramref name="bytes" /> 为 null (Nothing)。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charIndex" />、<paramref name="charCount" /> 或 <paramref name="byteIndex" /> 小于零。- 或 -<paramref name="charIndex" /> 和 <paramref name="charCount" /> 不表示 <paramref name="chars" /> 中的有效范围。- 或 -<paramref name="byteIndex" /> 不是 <paramref name="bytes" /> 中的有效索引。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="bytes" /> 中从 <paramref name="byteIndex" /> 到数组结尾没有足够的容量来容纳所产生的字节。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得更详细的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)">
- <summary>将指定 <see cref="T:System.String" /> 中的一组字符编码到指定的字节数组中。</summary>
- <returns>写入 <paramref name="bytes" /> 的实际字节数。</returns>
- <param name="s">包含要编码的字符集的 <see cref="T:System.String" />。</param>
- <param name="charIndex">第一个要编码的字符的索引。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">要包含所产生的字节序列的字节数组。</param>
- <param name="byteIndex">开始写入所产生的字节序列的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="s" /> 为 null (Nothing)。- 或 -<paramref name="bytes" /> 为 null (Nothing)。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charIndex" />、<paramref name="charCount" /> 或 <paramref name="byteIndex" /> 小于零。- 或 -<paramref name="charIndex" /> 和 <paramref name="charCount" /> 不表示 <paramref name="chars" /> 中的有效范围。- 或 -<paramref name="byteIndex" /> 不是 <paramref name="bytes" /> 中的有效索引。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="bytes" /> 中从 <paramref name="byteIndex" /> 到数组结尾没有足够的容量来容纳所产生的字节。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得更详细的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetCharCount(System.Byte*,System.Int32)">
- <summary>计算对一个字节序列(从指定的字节指针开始)进行解码所产生的字符数。</summary>
- <returns>对指定字节序列进行解码所产生的字符数。</returns>
- <param name="bytes">指向第一个要解码的字节的指针。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> 为 null (Nothing)。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="count" /> 小于零。- 或 -产生的字符数超过了作为一个整数返回时允许的最大字符数。</exception>
- <exception cref="T:System.Text.DecoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得更详细的解释)-和-将 <see cref="P:System.Text.Encoding.DecoderFallback" /> 设置为 <see cref="T:System.Text.DecoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetCharCount(System.Byte[],System.Int32,System.Int32)">
- <summary>计算对指定字节数组中的一个字节序列进行解码所产生的字符数。</summary>
- <returns>对指定字节序列进行解码所产生的字符数。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="index">第一个要解码的字节的索引。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> 为 null (Nothing)。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> 或 <paramref name="count" /> 小于零。- 或 -<paramref name="index" /> 和 <paramref name="count" /> 不表示 <paramref name="bytes" /> 中的有效范围。- 或 -产生的字符数超过了作为一个整数返回时允许的最大字符数。</exception>
- <exception cref="T:System.Text.DecoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.DecoderFallback" /> 设置为 <see cref="T:System.Text.DecoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetChars(System.Byte*,System.Int32,System.Char*,System.Int32)">
- <summary>将从指定的字节指针开始的一个字节序列解码为一组字符,并从指定的字符指针开始存储这组字符。</summary>
- <returns>在由 <paramref name="chars" /> 指示的位置处写入的实际字符数。</returns>
- <param name="bytes">指向第一个要解码的字节的指针。</param>
- <param name="byteCount">要解码的字节数。</param>
- <param name="chars">一个指针,指向开始写入所产生的字符集的位置。</param>
- <param name="charCount">要写入的最大字符数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> 为 null (Nothing)。- 或 -<paramref name="chars" /> 为 null (Nothing)。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteCount" /> 或 <paramref name="charCount" /> 小于零。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="charCount" /> 少于所产生的字符数。</exception>
- <exception cref="T:System.Text.DecoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.DecoderFallback" /> 设置为 <see cref="T:System.Text.DecoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)">
- <summary>将指定字节数组中的一个字节序列解码为指定的字符数组。</summary>
- <returns>写入 <paramref name="chars" /> 的实际字符数。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="byteIndex">第一个要解码的字节的索引。</param>
- <param name="byteCount">要解码的字节数。</param>
- <param name="chars">要用于包含所产生的字符集的字符数组。</param>
- <param name="charIndex">开始写入所产生的字符集的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> 为 null (Nothing)。- 或 -<paramref name="chars" /> 为 null (Nothing)。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteIndex" />、<paramref name="byteCount" /> 或 <paramref name="charIndex" /> 小于零。- 或 -<paramref name="byteindex" /> 和 <paramref name="byteCount" /> 不表示 <paramref name="bytes" /> 中的有效范围。- 或 -<paramref name="charIndex" /> 不是 <paramref name="chars" /> 中的有效索引。</exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="chars" /> 中从 <paramref name="charIndex" /> 到数组结尾没有足够容量来容纳所产生的字符。</exception>
- <exception cref="T:System.Text.DecoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.DecoderFallback" /> 设置为 <see cref="T:System.Text.DecoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetDecoder">
- <summary>获取可以将 UTF-7 编码的字节序列转换为 Unicode 字符序列的解码器。</summary>
- <returns>
- <see cref="T:System.Text.Decoder" /> 用于将 UTF-7 编码的字节序列转换为 Unicode 字符序列。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetEncoder">
- <summary>获取可将 Unicode 字符序列转换为 UTF-7 编码的字节序列的编码器。</summary>
- <returns>一个 <see cref="T:System.Text.Encoder" />,用于将 Unicode 字符序列转换为 UTF-7 编码的字节序列。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetHashCode">
- <summary>返回当前 <see cref="T:System.Text.UTF7Encoding" /> 对象的哈希代码。</summary>
- <returns>32 位有符号整数哈希代码。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetMaxByteCount(System.Int32)">
- <summary>计算对指定数目的字符进行编码时产生的最大字节数。</summary>
- <returns>对指定数目的字符进行编码所产生的最大字节数。</returns>
- <param name="charCount">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charCount" /> 小于零。- 或 -产生的字节数超过了作为一个整数返回时允许的最大字节数。</exception>
- <exception cref="T:System.Text.EncoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.EncoderFallback" /> 设置为 <see cref="T:System.Text.EncoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetMaxCharCount(System.Int32)">
- <summary>计算对指定数目的字节进行解码时产生的最大字符数。</summary>
- <returns>对指定数目的字节进行解码时所产生的最大字符数。</returns>
- <param name="byteCount">要解码的字节数。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteCount" /> 小于零。- 或 -产生的字符数超过了作为一个整数返回时允许的最大字符数。</exception>
- <exception cref="T:System.Text.DecoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得完整的解释)-和-将 <see cref="P:System.Text.Encoding.DecoderFallback" /> 设置为 <see cref="T:System.Text.DecoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF7Encoding.GetString(System.Byte[],System.Int32,System.Int32)">
- <summary>将字节数组中某个范围的字节解码为一个字符串。</summary>
- <returns>包含指定字节序列解码结果的 <see cref="T:System.String" />。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="index">第一个要解码的字节的索引。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> 为 null (Nothing)。</exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> 或 <paramref name="count" /> 小于零。- 或 -<paramref name="index" /> 和 <paramref name="count" /> 不表示 <paramref name="bytes" /> 中的有效范围。</exception>
- <exception cref="T:System.Text.DecoderFallbackException">发生回退(请参见.NET Framework 中的字符编码以获得更详细的解释)-和-将 <see cref="P:System.Text.Encoding.DecoderFallback" /> 设置为 <see cref="T:System.Text.DecoderExceptionFallback" />。</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="T:System.Text.UTF8Encoding">
- <summary>表示 Unicode 字符的 UTF-8 编码。</summary>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.#ctor">
- <summary>初始化 <see cref="T:System.Text.UTF8Encoding" /> 类的新实例。</summary>
- </member>
- <member name="M:System.Text.UTF8Encoding.#ctor(System.Boolean)">
- <summary>初始化 <see cref="T:System.Text.UTF8Encoding" /> 类的新实例。参数指定是否提供一个 Unicode 字节顺序标记。</summary>
- <param name="encoderShouldEmitUTF8Identifier">如果为 true,则指定 <see cref="M:System.Text.UTF8Encoding.GetPreamble" /> 方法返回 Unicode 字节顺序标记;否则为 false。有关详细信息,请参阅备注部分。</param>
- </member>
- <member name="M:System.Text.UTF8Encoding.#ctor(System.Boolean,System.Boolean)">
- <summary>初始化 <see cref="T:System.Text.UTF8Encoding" /> 类的新实例。参数指定是否提供 Unicode 字节顺序标记,以及是否在检测到无效的编码时引发异常。</summary>
- <param name="encoderShouldEmitUTF8Identifier">如果为 true,则指定 <see cref="M:System.Text.UTF8Encoding.GetPreamble" /> 方法应返回 Unicode 字节顺序标记;否则为 false。有关详细信息,请参阅备注部分。</param>
- <param name="throwOnInvalidBytes">如果为 true,则在检测到无效的编码时引发异常;否则为 false。</param>
- </member>
- <member name="M:System.Text.UTF8Encoding.Equals(System.Object)">
- <summary>确定指定的对象是否等于当前 <see cref="T:System.Text.UTF8Encoding" /> 对象。</summary>
- <returns>如果 <paramref name="value" /> 是 <see cref="T:System.Text.UTF8Encoding" /> 的一个实例并且等于当前对象,则为 true;否则,为 false。</returns>
- <param name="value">要与当前实例进行比较的对象。</param>
- <filterpriority>2</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetByteCount(System.Char*,System.Int32)">
- <summary>计算对从指定的字符指针开始的一组字符进行编码时产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="chars">指向第一个要编码的字符的指针。</param>
- <param name="count">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="count" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for a complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetByteCount(System.Char[],System.Int32,System.Int32)">
- <summary>计算对指定字符数组中的一组字符进行编码时产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="chars">包含要编码的字符集的字符数组。</param>
- <param name="index">第一个要编码的字符的索引。</param>
- <param name="count">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> or <paramref name="count" /> is less than zero.-or- <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-The <see cref="P:System.Text.Encoding.EncoderFallback" /> property is set to <see cref="T:System.Text.EncoderExceptionFallback" />. </exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetByteCount(System.String)">
- <summary>计算对指定 <see cref="T:System.String" /> 中的字符进行编码时所产生的字节数。</summary>
- <returns>对指定字符进行编码后生成的字节数。</returns>
- <param name="chars">包含要编码的字符集的 <see cref="T:System.String" />。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32)">
- <summary>将从指定的字符指针开始的一组字符编码为一个字节序列,并从指定的字节指针开始存储该字节序列。</summary>
- <returns>在由 <paramref name="bytes" /> 指示的位置处写入的实际字节数。</returns>
- <param name="chars">指向第一个要编码的字符的指针。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">一个指针,指向开始写入所产生的字节序列的位置。</param>
- <param name="byteCount">最多写入的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> is null.-or- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.-or- <paramref name="byteCount" /> is less than the resulting number of bytes. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32)">
- <summary>将指定字符数组中的一组字符编码到指定的字节数组中。</summary>
- <returns>写入 <paramref name="bytes" /> 的实际字节数。</returns>
- <param name="chars">包含要编码的字符集的字符数组。</param>
- <param name="charIndex">第一个要编码的字符的索引。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">要包含所产生的字节序列的字节数组。</param>
- <param name="byteIndex">要开始写入所产生的字节序列的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="chars" /> is null.-or- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)">
- <summary>将指定 <see cref="T:System.String" /> 中的一组字符编码到指定的字节数组中。</summary>
- <returns>写入 <paramref name="bytes" /> 的实际字节数。</returns>
- <param name="s">包含要编码的字符集的 <see cref="T:System.String" />。</param>
- <param name="charIndex">第一个要编码的字符的索引。</param>
- <param name="charCount">要编码的字符的数目。</param>
- <param name="bytes">要包含所产生的字节序列的字节数组。</param>
- <param name="byteIndex">要开始写入所产生的字节序列的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="s" /> is null.-or- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetCharCount(System.Byte*,System.Int32)">
- <summary>计算对一个字节序列(从指定的字节指针开始)进行解码所产生的字符数。</summary>
- <returns>对指定字节序列进行解码所产生的字符数。</returns>
- <param name="bytes">指向第一个要解码的字节的指针。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="count" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetCharCount(System.Byte[],System.Int32,System.Int32)">
- <summary>计算对指定字节数组中的一个字节序列进行解码所产生的字符数。</summary>
- <returns>对指定字节序列进行解码所产生的字符数。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="index">第一个要解码的字节的索引。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> or <paramref name="count" /> is less than zero.-or- <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetChars(System.Byte*,System.Int32,System.Char*,System.Int32)">
- <summary>将从指定的字节指针开始的一个字节序列解码为一组字符,并从指定的字符指针开始存储这组字符。</summary>
- <returns>在由 <paramref name="chars" /> 指示的位置处写入的实际字符数。</returns>
- <param name="bytes">指向第一个要解码的字节的指针。</param>
- <param name="byteCount">要解码的字节数。</param>
- <param name="chars">一个指针,指向开始写入所产生的字符集的位置。</param>
- <param name="charCount">要写入的最大字符数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null.-or- <paramref name="chars" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.-or- <paramref name="charCount" /> is less than the resulting number of characters. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)">
- <summary>将指定字节数组中的一个字节序列解码为指定的字符数组。</summary>
- <returns>写入 <paramref name="chars" /> 的实际字符数。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="byteIndex">第一个要解码的字节的索引。</param>
- <param name="byteCount">要解码的字节数。</param>
- <param name="chars">要用于包含所产生的字符集的字符数组。</param>
- <param name="charIndex">开始写入所产生的字符集的索引位置。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null.-or- <paramref name="chars" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.-or- <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.-or- <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.-or- <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetDecoder">
- <summary>获取可以将 UTF-8 编码的字节序列转换为 Unicode 字符序列的解码器。</summary>
- <returns>可以将 UTF-8 编码的字节序列转换为 Unicode 字符序列的解码器。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetEncoder">
- <summary>获取可将 Unicode 字符序列转换为 UTF-8 编码的字节序列的编码器。</summary>
- <returns>一个 <see cref="T:System.Text.Encoder" />,用于将 Unicode 字符序列转换为 UTF-8 编码的字节序列。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetHashCode">
- <summary>返回当前实例的哈希代码。</summary>
- <returns>当前实例的哈希代码。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetMaxByteCount(System.Int32)">
- <summary>计算对指定数目的字符进行编码时产生的最大字节数。</summary>
- <returns>对指定数目的字符进行编码所产生的最大字节数。</returns>
- <param name="charCount">要编码的字符的数目。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="charCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetMaxCharCount(System.Int32)">
- <summary>计算对指定数目的字节进行解码时产生的最大字符数。</summary>
- <returns>对指定数目的字节进行解码时所产生的最大字符数。</returns>
- <param name="byteCount">要解码的字节数。</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="byteCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetPreamble">
- <summary>返回一个采用 UTF-8 格式编码的 Unicode 字节顺序标记(如果 <see cref="T:System.Text.UTF8Encoding" /> 编码对象配置为提供一个这样的标记)。</summary>
- <returns>一个包含 Unicode 字节顺序标记的字节数组(如果 <see cref="T:System.Text.UTF8Encoding" /> 编码对象配置为提供一个这样的字节数组)。否则,此方法返回一个零长度的字节数组。</returns>
- <filterpriority>1</filterpriority>
- </member>
- <member name="M:System.Text.UTF8Encoding.GetString(System.Byte[],System.Int32,System.Int32)">
- <summary>将字节数组中某个范围的字节解码为一个字符串。</summary>
- <returns>包含指定字节序列解码结果的 <see cref="T:System.String" />。</returns>
- <param name="bytes">包含要解码的字节序列的字节数组。</param>
- <param name="index">第一个要解码的字节的索引。</param>
- <param name="count">要解码的字节数。</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="bytes" /> is null. </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index" /> or <paramref name="count" /> is less than zero.-or- <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />. </exception>
- <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
- <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see .NET Framework 中的字符编码 for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
- <filterpriority>1</filterpriority>
- </member>
- </members>
- </doc>
|