Removes the effect or restores the effect 'effect' set for the element type (see esriNgElementTypeEffect).
[Visual Basic 6.0] Sub RemoveEffect(
ByVal effect As esriNgElementTypeEffect _
) As Empty
[Visual Basic .NET] Public Sub RemoveEffect ( _ ByVal effect As esriNgElementTypeEffect _ )
[C#] public void RemoveEffect ( esriNgElementTypeEffect effect );
[Java] public void removeEffect ( esriNgElementTypeEffect effect ) throws IOException, AutomationException
[C++] HRESULT RemoveEffect( esriNgElementTypeEffect effect );
Suppose for the considered element type, the IsElementGroup property returns False and the ElementGroup property is defined; that is, the element type is not a group but inherits from an ancestor element type group. In this case, when calling the RemoveEffect method on the current element type, the effect will be removed for the element type ElementGroup; that is, for this ancestor element type group.
Reminder: Removing an effect that is always set, returns the element type's effect to the default effect value and removing an effect that is not set by default, really removes the element type's effect.
INgElementType Interface | INgElementType.GetEffect Method | INgElementType.IsEffectSet Method | INgElementType.SetEffect Method