Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft