ArcObjects Library Reference (GlobeCore)  

IGlobeServerLayerFactory.CreateLayersFromNames Method

Creates globe server layers from layer names.

[Visual Basic .NET]
Public Function CreateLayersFromNames ( _
    ByVal pSOName As IAGSServerObjectName, _
    ByVal layerNames As String[] _
) As IEnumLayer
[C#]
public IEnumLayer CreateLayersFromNames (
    IAGSServerObjectName pSOName,
    String[] layerNames
);
[C++]
HRESULT CreateLayersFromNames(
  IAGSServerObjectName* pSOName,
  layerNames layerNames,
  IEnumLayer** ppLayers
);
[C++]

Parameters

pSOName [in]

  pSOName is a parameter of type IAGSServerObjectName

layerNames [in]   layerNames is a parameter of type 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