iTextSharp.text.pdf.XfdfReader.StartElement C# (CSharp) Метод

StartElement() публичный Метод

public StartElement ( String tag, Hashtable h ) : void
tag String
h System.Collections.Hashtable
Результат void
        public void StartElement(String tag, Hashtable h) {
            if ( !foundRoot ) {
                if (!tag.Equals("xfdf"))
                    throw new Exception("Root element is not Bookmark.");
                else 
                    foundRoot = true;
            }

            if ( tag.Equals("xfdf") ){
                
            } else if ( tag.Equals("f") ) {
                fileSpec = (String)h[ "href" ];
            } else if ( tag.Equals("fields") ) {
                fields = new Hashtable();     // init it!
                listFields = new Hashtable();
            } else if ( tag.Equals("field") ) {
                String  fName = (String) h[ "name" ];
                fieldNames.Push( fName );
            } else if ( tag.Equals("value") ) {
                fieldValues.Push("");
            }
        }
        /**