_AppDomain.GetData(String) 方法

定义

为 COM 对象提供对 GetData(String) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetData(String) method.

public:
 System::Object ^ GetData(System::String ^ name);
public object GetData (string name);
abstract member GetData : string -> obj
Public Function GetData (name As String) As Object

参数

name
String

预定义应用程序域属性的名称,或已定义的应用程序域属性的名称。The name of a predefined application domain property, or the name of an application domain property you have defined.

返回

name 属性的值。The value of the name property.

注解

请参见AppDomain.GetData方法。See the AppDomain.GetData method.

适用于