_AppDomain.SetData(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides COM objects with version-independent access to the SetData(String, Object) method.
public:
void SetData(System::String ^ name, System::Object ^ data);
public void SetData (string name, object data);
[System.Security.SecurityCritical]
public void SetData (string name, object data);
abstract member SetData : string * obj -> unit
[<System.Security.SecurityCritical>]
abstract member SetData : string * obj -> unit
Public Sub SetData (name As String, data As Object)
Parameters
- name
- String
The name of a user-defined application domain property to create or change.
- data
- Object
The value of the property.
- Attributes
Remarks
See the AppDomain.SetData method.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈