System.Xml.XmlNodeReaderNavigator.InitDecAttr C# (CSharp) Méthode

InitDecAttr() private méthode

private InitDecAttr ( ) : void
Résultat void
            private void InitDecAttr() {
                int i = 0;
                String strTemp = doc.Version;
                if ( strTemp != null && strTemp.Length != 0 ) {
                    decNodeAttributes[i].name = strVersion;
                    decNodeAttributes[i].value = strTemp;
                    i++;
                }
                strTemp = doc.Encoding;
                if ( strTemp != null && strTemp.Length != 0 ) {
                    decNodeAttributes[i].name = strEncoding;
                    decNodeAttributes[i].value = strTemp;
                    i++;
                }
                strTemp = doc.Standalone;
                if ( strTemp != null && strTemp.Length != 0 ) {
                    decNodeAttributes[i].name = strStandalone;
                    decNodeAttributes[i].value = strTemp;
                    i++;
                }
                nDeclarationAttrCount = i;
            }