Export (0) Print
Expand All

_AppDomain.GetData Method

Gets the value stored in the current application domain for the specified data name.

[Visual Basic]
Function GetData( _
   ByVal name As String _
) As Object
[C#]
object GetData(
   string name
);
[C++]
Object* GetData(
   String* name
);
[JScript]
function GetData(
   name : String
) : Object;

Parameters

name
The name of an application domain property.

Return Value

The value of the name property.

Exceptions

Exception Type Condition
ArgumentNullException name is a null reference (Nothing in Visual Basic).

Remarks

name can be the value of one of the AppDomainSetup properties.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

_AppDomain Interface | _AppDomain Members | System Namespace

Show:
© 2015 Microsoft