We need you! We're working hard on the next version of Developer Fusion -
Let us know what you think we should be up to!
- namespace System.Globalization
- {
- using System.Text;
- using System.Runtime.Remoting;
- using System;
-
-
-
-
-
-
-
-
-
-
- [Serializable()]
- internal class CodePageDataItem
- {
- internal int m_dataIndex;
- internal int m_codePage;
- internal int m_uiFamilyCodePage;
- internal string m_webName;
- internal string m_headerName;
- internal string m_bodyName;
- internal string m_description;
- internal uint m_flags;
-
- unsafe internal CodePageDataItem(int dataIndex)
- {
- m_dataIndex = dataIndex;
- m_codePage = 0;
- m_uiFamilyCodePage = EncodingTable.codePageDataPtr[dataIndex].uiFamilyCodePage;
- m_webName = null;
- m_headerName = null;
- m_bodyName = null;
- m_description = null;
- m_flags = EncodingTable.codePageDataPtr[dataIndex].flags;
- }
-
- unsafe public virtual string WebName {
- get {
- if (m_webName == null) {
- m_webName = new string(EncodingTable.codePageDataPtr[m_dataIndex].webName);
- }
- return m_webName;
- }
- }
-
- public virtual int UIFamilyCodePage {
- get { return m_uiFamilyCodePage; }
- }
-
- unsafe public virtual string HeaderName {
- get {
- if (m_headerName == null) {
- m_headerName = new string(EncodingTable.codePageDataPtr[m_dataIndex].headerName);
- }
- return m_headerName;
- }
- }
-
- unsafe public virtual string BodyName {
- get {
- if (m_bodyName == null) {
- m_bodyName = new string(EncodingTable.codePageDataPtr[m_dataIndex].bodyName);
- }
- return m_bodyName;
- }
- }
-
- unsafe public virtual uint Flags {
- get { return (m_flags); }
- }
- }
- }