|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IInvalidArea2 Interface > IInvalidArea2.AddFeature Method (ArcObjects .NET 10.5 SDK) | 
Invalidates the area occupied by the feature, using the symbolol specified.
[Visual Basic .NET] Public Sub AddFeature ( _ ByVal Feature As IFeature, _ ByVal Symbol As ISymbol _ )
[C#] public void AddFeature ( IFeature Feature, ISymbol Symbol );
[C++]
HRESULT AddFeature(
  IFeature* Feature,
  ISymbol* Symbol
);
[C++]
Parameters Feature [in]
Feature is a parameter of type IFeature Symbol [in]
Symbol is a parameter of type ISymbol