Target Type DictionaryRemove(Key Value PairString, Target) Method
Removes the first occurrence of a specific object from the ICollectionT.
Definition
Namespace: Sandcastle.Tools.BuildComponents.Targets
Assembly: Sandcastle.Tools.BuildComponents (in Sandcastle.Tools.BuildComponents.dll) Version: 2026.1.20.0
if item was successfully removed from the ICollectionT; otherwise, . This method also returns if item is not found in the original ICollectionT.
Assembly: Sandcastle.Tools.BuildComponents (in Sandcastle.Tools.BuildComponents.dll) Version: 2026.1.20.0
C#
public bool Remove(
KeyValuePair<string, Target> item
)VB
Public Function Remove (
item As KeyValuePair(Of String, Target)
) As BooleanC++
public:
virtual bool Remove(
KeyValuePair<String^, Target^> item
) sealedF#
abstract Remove :
item : KeyValuePair<string, Target> -> bool
override Remove :
item : KeyValuePair<string, Target> -> bool Parameters
- item KeyValuePairString, Target
- The object to remove from the ICollectionT.
Return Value
Booleanif item was successfully removed from the ICollectionT; otherwise, . This method also returns if item is not found in the original ICollectionT.
Implements
ICollectionTRemove(T)Remarks
This method is not implemented as targets are never removed
Exceptions
| NotSupportedException | The ICollectionT is read-only. |