StackFrame.GetDefaultThisObject Method

Definition

Gets the current default scope, which will be either the contained object of a with statement scope, or the global scope.

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

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

Returns

The current default scope.

Implements

Applies to

See also