System.Xml.XmlNodeReaderNavigator.InitDocTypeAttr C# (CSharp) Method

InitDocTypeAttr() private method

private InitDocTypeAttr ( ) : void
return void
            private void InitDocTypeAttr() {
                int i = 0;
                XmlDocumentType docType = doc.DocumentType;
                if ( docType == null ) {
                    nDocTypeAttrCount = 0;
                    return;
                }
                String strTemp = docType.PublicId;
                if ( strTemp != null ) {
                    docTypeNodeAttributes[i].name = strPublicID;
                    docTypeNodeAttributes[i].value = strTemp;
                    i++;
                }
                strTemp = docType.SystemId;
                if ( strTemp != null ) {
                    docTypeNodeAttributes[i].name = strSystemID;
                    docTypeNodeAttributes[i].value = strTemp;
                    i++;
                }
                nDocTypeAttrCount = i;
            }