CSLE.CLS_Content.Value.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
            public override string ToString()
            {
                if(type==null)
                {
                    return "<null>" + value;
                }
                return "<" + type.ToString() + ">" + value;
            }
        }

Usage Example

コード例 #1
0
        public CLS_Content.Value ComputeValue(CLS_Content content)
        {
            content.InStack(this);
            CLS_Content.Value v   = listParam[0].ComputeValue(content);
            Exception         err = v.value as Exception;

            if (err != null)
            {
                throw err;
            }
            else
            {
                throw new Exception(v.ToString());
            }
        }