This document is archived and information here might be outdated.  Recommended version.

IOverride Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IO > IOverride Interface
ArcGIS Developer Help

IOverride Interface

Provides access to members that manage property overrides of a representation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Name Description
Read-only property HasAttributeOverride Indicates if a graphical attribute is overriden.
Method IsOverridenWithField Checks if the value of a graphical attribute comes from a feature field.
Method RemoveOverride Removes a given override from the blob.
Method RemoveOverrides Removes all attributes overrides from the representation.

Classes that implement IOverride

Classes Description
Representation A Feature Representation object.


IOverride interface can be used to access override information for a feature representation. While the feature representation can have both shape and attribute overrides, this interface is used to access attribute override information only.

Attribute overrides are overrides made to graphical attributes for LineStroke, GradientPattern, LinePattern, SolidColorPattern, BasicMarkerSymbol, all marker placements, all geometric effects and visibility property which can be retrieved using IRepresentationClass::GraphicAttributes property.

When an attribute override exists for a feature representation, HasAttributeOverride property returns True.

RemoveOverride method can be used to remove override present on a specific graphical attribute given its index.

To remove all overrides present use RemoveOverrides method. However, this method cannot be used to remove shape overrides. Use IRepresentation::RemoveShapeOverride method to remove shape overrides.