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


IFeatureServiceLayerFactory.CreateSubLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureServiceLayerFactory Interface > IFeatureServiceLayerFactory.CreateSubLayer Method
ArcGIS Developer Help

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
);
[C++]
Parameters
inputObject [in]

inputObject is a parameter of type IUnknown LayerID [in]
LayerID is a parameter of type BSTR tables [out]
tables is a parameter of type IEnumTable**

Product Availability

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

See Also

IFeatureServiceLayerFactory Interface