IActivationObject IActivationObject IActivationObject IActivationObject Interface

Definition

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

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

public interface class IActivationObject
public interface IActivationObject
type IActivationObject = interface
Public Interface IActivationObject
Derived

Methods

GetDefaultThisObject() GetDefaultThisObject() GetDefaultThisObject() GetDefaultThisObject()

When implemented in a class, gets the current default scope. Either the contained object of a with statement scope, or the global scope.

GetField(String, Int32) GetField(String, Int32) GetField(String, Int32) GetField(String, Int32)

When 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.

GetGlobalScope() GetGlobalScope() GetGlobalScope() GetGlobalScope()

When 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.

GetLocalField(String) GetLocalField(String) GetLocalField(String) GetLocalField(String)

When 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.

GetMemberValue(String, Int32) GetMemberValue(String, Int32) GetMemberValue(String, Int32) GetMemberValue(String, Int32)

When 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.

Applies to

See also