System.Xml.XmlNodeReaderImpl.XmlNodeReaderImpl.XmlNodeReaderImpl C# (CSharp) Méthode

XmlNodeReaderImpl() public méthode

public XmlNodeReaderImpl ( XmlNode node ) : System
node XmlNode
Résultat System
		public XmlNodeReaderImpl (XmlNode node)
		{
			startNode = node;
			depth = 0;
			document = startNode.NodeType == XmlNodeType.Document ?
				startNode as XmlDocument : startNode.OwnerDocument;

			switch (node.NodeType) {
			case XmlNodeType.Document:
			case XmlNodeType.DocumentFragment:
			case XmlNodeType.EntityReference:
				ignoreStartNode = true;
				break;
			}

		}
		

Same methods

XmlNodeReaderImpl.XmlNodeReaderImpl::XmlNodeReaderImpl ( XmlNodeReaderImpl entityContainer ) : System