ODF .NET Class Library
Show/Hide TOC

# ScriptEventListener Class

Binds an event to a macro.

## Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class ScriptEventListener : IEventListener

VB

    Public Class ScriptEventListener
    	Implements IEventListener

Inheritance
  Object ScriptEventListener

Implements
  IEventListener

## Constructors

ScriptEventListener | Initializes a new instance of the ScriptEventListener class.

## Properties

Language | Contains the language.
MacroLocation | Contains the macro code that should be called for an event. The URI may have an arbitrary protocol. The interpretation of the URI is script language dependent.
MacroName | Contains the macro name. The interpretation of the name is script language dependent.
Name | Contains the name.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetHashCode | (Inherited from Object)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current ScriptEventListener object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf Namespace