ArcObjects Library Reference (System)  

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 LPUNKNOWN

Product Availability

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

See Also

IEnvironmentManager Interface