System.Security.SecurityDocument.GetTagForElement C# (CSharp) Method

GetTagForElement() public method

public GetTagForElement ( int position ) : String
position int
return String
        public String GetTagForElement( int position )
        {
            if (m_data.Length <= position)
                throw new XmlSyntaxException();

            if (m_data[position++] != c_element)
                throw new XmlSyntaxException();

            String strTag = GetString( ref position );
            return strTag;
        }

Usage Example

 String ISecurityElementFactory.GetTag()
 {
     return(m_document.GetTagForElement(m_position));
 }
All Usage Examples Of System.Security.SecurityDocument::GetTagForElement