This document is archived and information here might be outdated.  Recommended version.


IEnvironmentManager.AddEnvironment Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IE > IEnvironmentManager Interface > IEnvironmentManager.AddEnvironment Method
ArcGIS Developer Help

IEnvironmentManager.AddEnvironment Method

Adds an environment.

[Visual Basic .NET]
Public Sub AddEnvironment ( _
    ByVal pGuid As UID, _
    ByVal pUnk As Object _
)
[C#]
public void AddEnvironment (
    UID pGuid,
    object pUnk
);
[C++]
HRESULT AddEnvironment(
  IUID* pGuid,
  LPUNKNOWN pUnk
);
[C++]
Parameters
pGuid [in]

pGuid is a parameter of type IUID* pUnk [in]
pUnk is a parameter of type IUnknown

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IEnvironmentManager Interface