Returns the effect 'effect' set for the element type (see esriNgElementTypeEffect).
[Visual Basic 6.0] Function GetEffect(
ByVal effect As esriNgElementTypeEffect _
) As Variant
[Visual Basic .NET] Public Function GetEffect ( _ ByVal effect As esriNgElementTypeEffect _ ) As Object
[C#] public object GetEffect ( esriNgElementTypeEffect effect );
[Java] public Object getEffect ( esriNgElementTypeEffect effect ) throws IOException, AutomationException
[C++] HRESULT GetEffect( esriNgElementTypeEffect effect, VARIANT* effValue );
Parameters
effect [in]
effect is a parameter of type esriNgElementTypeEffect
effValue [out, retval]
effValue is a parameter of type VARIANT
If the IsElementGroup property returns False and the ElementGroup property is defined (that is if the element type is not a group but inherits from an ancestor element type group), calling the GetEffect method on the current element type will return the effects defined for this ElementGroup (that is, for this ancestor element type group).
INgElementType Interface | INgElementType.SetEffect Method | INgElementType.IsEffectSet Method | INgElementType.RemoveEffect Method