_AppDomain::SetData Method (String^, Object^)

 

Provides COM objects with version-independent access to the AppDomain::SetData method.

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

[SecurityCriticalAttribute]
void SetData(
	String^ name,
	Object^ data
)

Parameters

name
Type: System::String^

The name of a user-defined application domain property to create or change.

data
Type: System::Object^

The value of the property.

SecurityCriticalAttribute

Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 1.1
Return to top
Show: