Edit

Share via


StackFrame.GetMemberValue(String, Int32) Method

Definition

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.

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

public:
 virtual System::Object ^ GetMemberValue(System::String ^ name, int lexlevel);
public object GetMemberValue (string name, int lexlevel);
override this.GetMemberValue : string * int -> obj
abstract member GetMemberValue : string * int -> obj
override this.GetMemberValue : string * int -> obj
Public Function GetMemberValue (name As String, lexlevel As Integer) As Object

Parameters

name
String

The name of the member to search for.

lexlevel
Int32

The lexical level to search.

Returns

The value of the member name.

Implements

Applies to

See also