System.Text.Encoding.CodePages Gets a reference to the array's data suitable for pinning. The resulting pointer is guaranteed to be non-null. Get the system default non-unicode code page, or 0 if not available. Non-negative number required. Index and count must refer to a location within the string. Index and count must refer to a location within the buffer. No data is available for encoding {0}. The output byte buffer is too small to contain the encoded data, encoding '{0}' fallback '{1}'. String contains invalid Unicode code points. Too many characters. The resulting number of bytes is larger than what can be returned as an int. The output char buffer is too small to contain the decoded characters, encoding '{0}' fallback '{1}'. Too many bytes. The resulting number of chars is larger than what can be returned as an int. Must complete Convert() operation or call Encoder.Reset() before calling GetBytes() or GetByteCount(). Encoder '{0}' fallback '{1}'. Recursive fallback not allowed for character \\u{0:X4}. Recursive fallback not allowed for bytes {0}. Valid values are between {0} and {1}, inclusive. {0} is not a supported code page. Index was out of range. Must be non-negative and less than the size of the collection. Index was out of range. Must be non-negative and less than or equal to the size of the collection. Could not find a resource entry for the encoding codepage '{0} - {1}' IBM EBCDIC (US-Canada) OEM United States IBM EBCDIC (International) Arabic (ASMO 708) Arabic (DOS) Greek (DOS) Baltic (DOS) Western European (DOS) Central European (DOS) OEM Cyrillic Turkish (DOS) OEM Multilingual Latin I Portuguese (DOS) Icelandic (DOS) Hebrew (DOS) French Canadian (DOS) Arabic (864) Nordic (DOS) Cyrillic (DOS) Greek, Modern (DOS) IBM EBCDIC (Multilingual Latin-2) Thai (Windows) IBM EBCDIC (Greek Modern) Japanese (Shift-JIS) Chinese Simplified (GB2312) Korean Chinese Traditional (Big5) IBM EBCDIC (Turkish Latin-5) IBM Latin-1 IBM EBCDIC (US-Canada-Euro) IBM EBCDIC (Germany-Euro) IBM EBCDIC (Denmark-Norway-Euro) IBM EBCDIC (Finland-Sweden-Euro) IBM EBCDIC (Italy-Euro) IBM EBCDIC (Spain-Euro) IBM EBCDIC (UK-Euro) IBM EBCDIC (France-Euro) IBM EBCDIC (International-Euro) IBM EBCDIC (Icelandic-Euro) Central European (Windows) Cyrillic (Windows) Western European (Windows) Greek (Windows) Turkish (Windows) Hebrew (Windows) Arabic (Windows) Baltic (Windows) Vietnamese (Windows) Korean (Johab) Western European (Mac) Japanese (Mac) Chinese Traditional (Mac) Korean (Mac) Arabic (Mac) Hebrew (Mac) Greek (Mac) Cyrillic (Mac) Chinese Simplified (Mac) Romanian (Mac) Ukrainian (Mac) Thai (Mac) Central European (Mac) Icelandic (Mac) Turkish (Mac) Croatian (Mac) Chinese Traditional (CNS) TCA Taiwan Chinese Traditional (Eten) IBM5550 Taiwan TeleText Taiwan Wang Taiwan Western European (IA5) German (IA5) Swedish (IA5) Norwegian (IA5) T.61 ISO-6937 IBM EBCDIC (Germany) IBM EBCDIC (Denmark-Norway) IBM EBCDIC (Finland-Sweden) IBM EBCDIC (Italy) IBM EBCDIC (Spain) IBM EBCDIC (UK) IBM EBCDIC (Japanese katakana) IBM EBCDIC (France) IBM EBCDIC (Arabic) IBM EBCDIC (Greek) IBM EBCDIC (Hebrew) IBM EBCDIC (Korean Extended) IBM EBCDIC (Thai) Cyrillic (KOI8-R) IBM EBCDIC (Icelandic) IBM EBCDIC (Cyrillic Russian) IBM EBCDIC (Turkish) IBM Latin-1 Japanese (JIS 0208-1990 and 0212-1990) Chinese Simplified (GB2312-80) Korean Wansung IBM EBCDIC (Cyrillic Serbian-Bulgarian) Ext Alpha Lowercase Cyrillic (KOI8-U) Central European (ISO) Latin 3 (ISO) Baltic (ISO) Cyrillic (ISO) Arabic (ISO) Greek (ISO) Hebrew (ISO-Visual) Turkish (ISO) Estonian (ISO) Latin 9 (ISO) Europa Hebrew (ISO-Logical) User Defined Japanese (JIS) Japanese (JIS-Allow 1 byte Kana) Japanese (JIS-Allow 1 byte Kana - SO/SI) Korean (ISO) Chinese Simplified (ISO-2022) Chinese Traditional (ISO-2022) IBM EBCDIC (Japanese and Japanese Katakana) IBM EBCDIC (Japanese and US-Canada) IBM EBCDIC (Korean and Korean Extended) IBM EBCDIC (Simplified Chinese) IBM EBCDIC (Traditional Chinese) IBM EBCDIC (Japanese and Japanese-Latin) Japanese (EUC) Chinese Simplified (EUC) Korean (EUC) Chinese Simplified (HZ) Chinese Simplified (GB18030) ISCII Devanagari ISCII Bengali ISCII Tamil ISCII Telugu ISCII Assamese ISCII Oriya ISCII Kannada ISCII Malayalam ISCII Gujarati ISCII Punjabi Attribute used to indicate a source generator should create a function for marshalling arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time. This attribute is meaningless if the source generator associated with it is not enabled. The current built-in source generator only supports C# and only supplies an implementation when applied to static, partial, non-generic methods. Initializes a new instance of the . Name of the library containing the import. Gets the name of the library containing the import. Gets or sets the name of the entry point to be called. Gets or sets how to marshal string arguments to the method. If this field is set to a value other than , must not be specified. Gets or sets the used to control how string arguments to the method are marshalled. If this field is specified, must not be specified or must be set to . Gets or sets whether the callee sets an error (SetLastError on Windows or errno on other platforms) before returning from the attributed method. Specifies how strings should be marshalled for generated p/invokes Indicates the user is suppling a specific marshaller in . Use the platform-provided UTF-8 marshaller. Use the platform-provided UTF-16 marshaller. Blittable version of Windows BOOL type. It is convenient in situations where manual marshalling is required, or to avoid overhead of regular bool marshalling. Some Windows APIs return arbitrary integer values although the return type is defined as BOOL. It is best to never compare BOOL to TRUE. Always use bResult != BOOL.FALSE or bResult == BOOL.FALSE .