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


IGlobeServerLayerFactory.CreateLayersFromNames Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeServerLayerFactory Interface > IGlobeServerLayerFactory.CreateLayersFromNames Method
ArcGIS Developer Help

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