_AppDomain.SetData(String, Object) _AppDomain.SetData(String, Object) _AppDomain.SetData(String, Object) _AppDomain.SetData(String, Object) Method

Definition

Provides COM objects with version-independent access to the SetData(String, Object) method.

public:
 void SetData(System::String ^ name, System::Object ^ data);
[System.Security.SecurityCritical]
public void SetData (string name, object data);
abstract member SetData : string * obj -> unit
Public Sub SetData (name As String, data As Object)

Parameters

name
String String String String

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

data
Object Object Object Object

The value of the property.

Remarks

See the AppDomain.SetData method.

Security

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

Applies to