ArcObjects Library Reference (Carto)  

IACFeatureLayerAdmin.Connect Method

Connects to the feature layer.

[Visual Basic .NET]
Public Sub Connect ( _
    ByVal layerInfo As String, _
    ByVal request As IIMSAxlRequest, _
    ByVal spatialRef As ISpatialReference, _
    ByVal MapUnits As acMapUnits, _
    ByVal FeatureClass As IFeatureClass _
)
[C#]
public void Connect (
    string layerInfo,
    IIMSAxlRequest request,
    ISpatialReference spatialRef,
    acMapUnits MapUnits,
    IFeatureClass FeatureClass
);
[C++]
HRESULT Connect(
  BSTR layerInfo,
  IIMSAxlRequest* request,
  ISpatialReference* spatialRef,
  acMapUnits MapUnits,
  IFeatureClass* FeatureClass
);
[C++]

Parameters

layerInfo [in]   layerInfo is a parameter of type BSTR request [in]

  request is a parameter of type IIMSAxlRequest

spatialRef [in]

  spatialRef is a parameter of type ISpatialReference

MapUnits [in]

  MapUnits is a parameter of type acMapUnits

FeatureClass [in]

  FeatureClass is a parameter of type IFeatureClass

Product Availability

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

See Also

IACFeatureLayerAdmin Interface