Export (0) Print
Expand All

IActivationObject Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Defines methods for resolving scope. This interface is implemented by all objects that take part in a scope hierarchy.

Namespace:  Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public interface IActivationObject

The IActivationObject type exposes the following members.

  NameDescription
Public methodGetDefaultThisObjectWhen implemented in a class, gets the current default scope. Either the contained object of a with statement scope, or the global scope.
Public methodGetFieldWhen implemented in a class, returns a field that has the specified name by searching the scope hierarchy. This method searches only the scope that is specified by the lexical level.
Public methodGetGlobalScopeWhen implemented in a class, gets the global scope by searching the scope hierarchy until it finds a scope that includes static variables, for example, a module scope.
Public methodGetLocalFieldWhen implemented in a class, gets the local declaration of a field that has the specified name. This is used at compile time for error checking.
Public methodGetMemberValueWhen implemented in a class, gets the value of the specified member by searching the scope hierarchy. This method searches only the scope that is specified by the lexical level.
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft