Dissociates the 'ElementType' element type with the diagram type.
[Visual Basic 6.0] Sub DissociateElementType(
ByVal ElementType As INgElementType _
) As Empty
[Visual Basic .NET] Public Sub DissociateElementType ( _ ByVal ElementType As INgElementType _ )
[C#] public void DissociateElementType ( INgElementType ElementType );
[Java] public void dissociateElementType ( INgElementType ElementType ) throws IOException, AutomationException
[C++] HRESULT DissociateElementType( INgElementType* ElementType );
Here is a sample call of the DissociateElementType method:
Dim pDiagramType As INgDiagramType
Dim pElementType As INgElementType
...
Set pElementType = m_INgProject.GetElementType("Stations")
If pDiagramType.IsElementTypeAssociated(pElementType) Then
pDiagramType.DissociateElementType (pElementType)
End If
INgDiagramType Interface | INgDiagramType.AssociateElementType Method