System.Xml.ValidatingReaderNodeData.SetLineInfo C# (CSharp) Method

SetLineInfo() private method

private SetLineInfo ( int lineNo, int linePos ) : void
lineNo int
linePos int
return void
        internal void SetLineInfo( int lineNo, int linePos ) {
            this.lineNo =  lineNo;
            this.linePos = linePos;
        }

Same methods

ValidatingReaderNodeData::SetLineInfo ( IXmlLineInfo lineInfo ) : void

Usage Example

Example #1
0
        internal ValidatingReaderNodeData RecordTextNode(string textValue, string originalStringValue, int depth, int lineNo, int linePos)
        {
            ValidatingReaderNodeData textNode = AddContent(XmlNodeType.Text);

            textNode.SetItemData(textValue, originalStringValue);
            textNode.SetLineInfo(lineNo, linePos);
            textNode.Depth = depth;
            return(textNode);
        }
All Usage Examples Of System.Xml.ValidatingReaderNodeData::SetLineInfo