IActivationObject.GetDefaultThisObject 方法

定义

在类中实现时,获取当前默认范围。When implemented in a class, gets the current default scope. with 语句范围包含的对象,或全局范围。Either the contained object of a with statement scope, or the global scope.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 System::Object ^ GetDefaultThisObject();
public object GetDefaultThisObject ();
abstract member GetDefaultThisObject : unit -> obj
Public Function GetDefaultThisObject () As Object

返回

Object

当前默认范围。The current default scope.

适用于

另请参阅