RtfDomParser.RTFToken.ToString C# (CSharp) 메소드

ToString() 공개 메소드

public ToString ( ) : string
리턴 string
        public override string ToString()
        {
            if (intType == RTFTokenType.Keyword)
            {
                return this.Key + this.Param;
            }
            else if (intType == RTFTokenType.GroupStart)
            {
                return "{";
            }
            else if (intType == RTFTokenType.GroupEnd)
            {
                return "}";
            }
            else if (intType == RTFTokenType.Text)
            {
                return "Text:" + this.Param;
            }
            return intType.ToString() + ":" + this.Key + " " + this.Param;
        }
RTFToken