ArcObjects Library Reference (Location)  

IHatchTemplate.RemoveHatchDefinition Method

Removes a hatch definition from the hatch class.

[Visual Basic .NET]
Public Sub RemoveHatchDefinition ( _
    ByVal index As Integer _
)
[C#]
public void RemoveHatchDefinition (
    int index
);
[C++]
HRESULT RemoveHatchDefinition(
  long index
);
[C++]

Parameters

index [in]   index is a parameter of type long

Product Availability

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

Remarks

The index of a hatch definition is based on it's hatch interval. It is not a zero-based index. 
For example, a hatch definition with an interval of 5 would have an index value of 5.

See Also

IHatchTemplate Interface