System.Data.SimpleType.SimpleType C# (CSharp) Метод

SimpleType() приватный Метод

private SimpleType ( SerializationInfo info, StreamingContext context ) : System.Xml
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Результат System.Xml
        private SimpleType(SerializationInfo info, StreamingContext context)
        {
            _baseType = info.GetString("SimpleType.BaseType");
            _baseSimpleType = (SimpleType)info.GetValue("SimpleType.BaseSimpleType", typeof(SimpleType));

            if (info.GetBoolean("SimpleType.XmlBaseType.XmlQualifiedNameExists"))
            {
                string xmlQNName = info.GetString("SimpleType.XmlBaseType.Name");
                string xmlQNNamespace = info.GetString("SimpleType.XmlBaseType.Namespace");
                _xmlBaseType = new XmlQualifiedName(xmlQNName, xmlQNNamespace);
            }
            else
            {
                _xmlBaseType = null;
            }
            _name = info.GetString("SimpleType.Name");
            _ns = info.GetString("SimpleType.NS");
            _maxLength = info.GetInt32("SimpleType.MaxLength");
            _length = info.GetInt32("SimpleType.Length");
        }

Same methods

SimpleType::SimpleType ( XmlSchemaSimpleType node ) : System.Xml
SimpleType::SimpleType ( string baseType ) : System.Xml