ESRI.ArcGIS.ADF.IMS
Environment Constructor(Boolean)
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Administration Namespace > Environment Class > Environment Constructor : Environment Constructor(Boolean)




fetchMachineInfo
True to fetch the current machine information and populate this environment object with it.
Constructs an Environment object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal fetchMachineInfo As Boolean _
)
Visual Basic (Usage)Copy Code
Dim fetchMachineInfo As Boolean
 
Dim instance As New Environment(fetchMachineInfo)
C# 
public Environment( 
   bool fetchMachineInfo
)

Parameters

fetchMachineInfo
True to fetch the current machine information and populate this environment object with it.

Remarks

If fetchMachineInfo is true, then the Environment will obtain the Language and Country settings from the machine running the .NET application. It will also obtain a Dpi from the machine. If fetchMachineInfo is false, these properties will not be set on creation of the Environment object.

Requirements

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

See Also

© 2011 All Rights Reserved.