Suppose you have connected to Active Directory using the simiple syntax:
string adPath = "LDAP://server.domain.com/CN=John,CN=Users,dc=domain,dc=com";
DirectoryEntry userEntry = Settings.GetADEntry(adPath);
Now you want to see an attribute for that user, say the mail attribute:
Console.WriteLine("User's mail attribute is " + userEntry.Properties["mail"]);
Now how can I delete the mail attribute value?