ArcObjects Library Reference  (Schematic)    

INgDiagramType.Delete Method

Deletes the diagram type. When setting the 'deleteDescendants' parameter to TRUE, all the diagram types that inherit from this diagram type are also deleted.

[Visual Basic 6.0]
Sub Delete(
    [ByVal deleteDescendants As Boolean] _
) As Empty
[Visual Basic .NET]
Public Sub Delete ( _
    [ByVal deleteDescendants As Boolean] _
)
[C#]
public void Delete (
    bool deleteDescendants
);
[C#]

Optional Values

deleteDescendants   Supply true as a default value.
[Java]
public void delete (
    Boolean deleteDescendants
)
throws
    IOException,
    AutomationException
[C++]
HRESULT Delete(
  VARIANT_BOOL deleteDescendants
);
[C++]

Parameters

deleteDescendants [in, optional, defaultvalue(VARIANT_TRUE)]

  deleteDescendants is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

Description

Note that the TRUE value is the default value for the deleteDescendants parameter.

[Visual Basic 6.0]

Here is a sample call of the Delete method:

Dim pDiagramType As INgDiagramType
...
pDiagramType.Delete

See Also

INgDiagramType Interface

 


Feedback Send feedback on this page