This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IE > IEnvironmentManager Interface > IEnvironmentManager.AddEnvironment Method (ArcObjects .NET 10.5 SDK) |
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