ESRI.ArcGIS.ADF.IMS
Environment Constructor(Boolean)
See Also 
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 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.

See Also

© 2010 All Rights Reserved.