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


IFeatureServiceLayerFactory.CreateSubLayer Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IFeatureServiceLayerFactory.CreateSubLayer Method

Creates layer(s) based on the specified object.

[Visual Basic .NET]
Public Function CreateSubLayer ( _
    ByVal inputObject As Object, _
    ByVal LayerID As String, _
    ByRef tables As IEnumTable _
) As IEnumLayer
[C#]
public IEnumLayer CreateSubLayer (
    object inputObject,
    string LayerID,
    ref IEnumTable tables
);
[C++]
HRESULT CreateSubLayer(
  LPUNKNOWN inputObject,
  BSTR LayerID,
  IEnumTable** tables,
  IEnumLayer** Layers
);
[C++]

Parameters inputObject [in] inputObject is a parameter of type LPUNKNOWN LayerID [in] LayerID is a parameter of type BSTR tables [out]
tables is a parameter of type IEnumTable Layers [out, retval]
Layers is a parameter of type IEnumLayer

Product Availability

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

See Also

IFeatureServiceLayerFactory Interface