How to delete feature library from feature tree ??

Good morning. I have the code to search inside feature treeifthere are feature library of a specific name. In this code iuseModelDoc2::FirstFeature, Feature::Name andFeature::GetTypeName.But when i find the feature library whith thespecific name, howcan i delete this feature library??SolidworksApi macros