LocationReferenceEnvironment 类

定义

提供在运行时活动可用的变量和自变量环境的表示形式。Provides a representation of the environment of variables and arguments that is available to an activity at runtime.

public ref class LocationReferenceEnvironment abstract
public abstract class LocationReferenceEnvironment
type LocationReferenceEnvironment = class
Public MustInherit Class LocationReferenceEnvironment
继承
LocationReferenceEnvironment

构造函数

LocationReferenceEnvironment()

由派生类的构造函数调用以初始化对象。Called by derived class constructors to initialize the object.

属性

Parent

获取或设置作为容器的 LocationReferenceEnvironmentGets or sets the containing LocationReferenceEnvironment.

Root

获取用于确定此环境的范围规则的活动。Gets the activity that determines the scoping rules for this environment.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetLocationReferences()

在派生类中重写时,返回当前范围内的 LocationReference 对象的集合。When overridden in a derived class, returns a collection of LocationReference objects in the current scope.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
IsVisible(LocationReference)

在派生类中重写时,确定指定的 LocationReference 在当前范围内是否可见。When overridden in a derived class, determines whether the specified LocationReference is visible in the current scope.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)
TryGetLocationReference(String, LocationReference)

在派生类中重写时,尝试获取指定的 LocationReferenceWhen overridden in a derived class, attempts to get the specified LocationReference.

适用于