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


IGlobeServerLayerFactory.CreateLayer Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GlobeCore)  

IGlobeServerLayerFactory.CreateLayer Method

Creates a globe server layer.

[Visual Basic .NET]
Public Function CreateLayer ( _
    ByVal pObject As Object, _
    ByVal pLayerInfo As IGlobeLayerInfo _
) As IEnumLayer
[C#]
public IEnumLayer CreateLayer (
    object pObject,
    IGlobeLayerInfo pLayerInfo
);
[C++]
HRESULT CreateLayer(
  LPUNKNOWN pObject,
  IGlobeLayerInfo* pLayerInfo,
  IEnumLayer** ppLayers
);
[C++]

Parameters pObject [in] pObject is a parameter of type LPUNKNOWN pLayerInfo [in]
pLayerInfo is a parameter of type IGlobeLayerInfo ppLayers [out, retval]
ppLayers is a parameter of type IEnumLayer

Product Availability

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

See Also

IGlobeServerLayerFactory Interface