Vestris.ResourceLib.VersionResource.ToString C# (CSharp) 메소드

ToString() 공개 메소드

Return string representation of the version resource.
public ToString ( ) : string
리턴 string
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();
            if (_fixedfileinfo != null)
            {
                sb.Append(_fixedfileinfo.ToString());
            }
            sb.AppendLine("BEGIN");
            foreach (DictionaryEntry dictionaryEntry in _resources)
            {
                sb.Append(((ResourceTableHeader)dictionaryEntry.Value).ToString(1));
            }
            sb.AppendLine("END");
            return sb.ToString();
        }

Usage Example

예제 #1
0
 public static void Dump(VersionResource rc)
 {
     Console.WriteLine(rc.ToString());
 }