Novell.Directory.Ldap.LdapEntry.ToString C# (CSharp) Method

ToString() public method

Returns a string representation of this LdapEntry
public ToString ( ) : System.String
return System.String
        public override System.String ToString()
        {
            System.Text.StringBuilder result = new System.Text.StringBuilder("LdapEntry: ");
            if ((System.Object) dn != null)
            {
                result.Append(dn + "; ");
            }
            if (attrs != null)
            {
                result.Append(attrs.ToString());
            }
            return result.ToString();
        }

Usage Example

 /// <summary> Return a String representation of this object.
 ///
 /// </summary>
 /// <returns> a String representing this object.
 /// </returns>
 public override System.String ToString()
 {
     System.String str;
     if (entry == null)
     {
         str = base.ToString();
     }
     else
     {
         str = entry.ToString();
     }
     return(str);
 }
All Usage Examples Of Novell.Directory.Ldap.LdapEntry::ToString