RemoveEntry Method (IDictionary) Send Feedback
See Also  Example
Name
Name of the entity to remove from the dictionary
Removes the entity with the specified name from the dictionary.

Syntax

Visual Basic 
Sub RemoveEntry( _
   ByVal Name As System.String _
) 
C# 
void RemoveEntry( 
   System.string Name
)
JavaScript 
RemoveEntry( 
   Name : String
)
COM native C++ 
HRESULT RemoveEntry( 
   BSTR Name
) 
C++ 
DSRESULT RemoveEntry( 
   const dsString& Name
) 

Parameters

Name
Name of the entity to remove from the dictionary

Example

Remarks

Only the entity that matches the specified name in this dictionary is removed. If the entity exists in the drawing, then the entity is not removed from the drawing.

NOTE: You can also remove dictionaries or XRecords in a dictionary using IDictionary::Erased or IXRecord::Erased, respectively. However, IXDictionary::Erased and IXRecord::Erased require you to call IDictionary::SetEntry to restore any dictionaries or XRecords erased using IDictionary::Erased or IXRecord::Erased. If you removed any dictionaries or XRecords using IDictionary::RemoveEntry, then you do not have to call IDictionary::SetEntry to restore the removed dictionaries or XRecords.

 

See Also

Availability

DraftSight V1R4.0