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


IGlobeServerLayerFactory.CreateLayersFromNames Method (ArcObjects .NET 10.6 SDK)
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,
  SafeArray layerNames
);
[C++]

Parameters pSOName [in]
pSOName is a parameter of type IAGSServerObjectName* layerNames [in]
layerNames is a parameter of type SAFEARRAY(BSTR)

Product Availability

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

See Also

IGlobeServerLayerFactory Interface