コード例 #1
0
 /// <summary>
 /// Obtains the String representation of this instance.
 /// </summary>
 /// <returns>User readable name of the instance.</returns>
 public override string ToString()
 {
     // Return the class name and instance identifier
     return("ViewLayoutControl:" + Id.ToString() + " ClientLocation:" + ClientLocation.ToString());
 }
コード例 #2
0
 /// <summary>
 /// 返回该连接列表项的字符串表示形式。
 /// </summary>
 /// <returns>该连接列表项的字符串表示形式</returns>
 public override string ToString()
 {
     return("端点 [" + ClientLocation.ToString() + "], 已尝试次数 " + TimesTried.ToString());
 }