AppContext::GetData Method (String^)

 

Returns the value of the named data element assigned to the current application domain.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public:
static Object^ GetData(
	String^ name
)

Parameters

name
Type: System::String^

The name of the data element.

Return Value

Type: System::Object^

The value of name, if name identifies a named value; otherwise, null.

.NET Framework
Available since 4.7
Return to top
Show: