ArcObjects Library Reference (GeoAnalyst)  

IConversionOp.ToFeatureData Method

Convert to feature data (FeatureClass or FeatureDataset).

[Visual Basic .NET]
Public Function ToFeatureData ( _
    ByVal dataset As IGeoDataset, _
    ByVal geometryType As esriGeometryType, _
    ByVal pWorkspace As IWorkspace, _
    ByVal name As String _
) As IGeoDataset
[C#]
public IGeoDataset ToFeatureData (
    IGeoDataset dataset,
    esriGeometryType geometryType,
    IWorkspace pWorkspace,
    string name
);
[C++]
HRESULT ToFeatureData(
  IGeoDataset* dataset,
  esriGeometryType geometryType,
  IWorkspace* pWorkspace,
  BSTR name,
  IGeoDataset** GeoDataset
);
[C++]

Parameters

dataset [in]

  dataset is a parameter of type IGeoDataset

geometryType [in]

  geometryType is a parameter of type esriGeometryType

pWorkspace [in]

  pWorkspace is a parameter of type IWorkspace

name [in]   name is a parameter of type BSTR GeoDataset [out, retval]

  GeoDataset is a parameter of type IGeoDataset

Product Availability

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

Remarks

dataset

the input Raster, RasterDataset, RasterBand, or RasterDescriptor to be converted to feature class

geometryType

The constant value specifying the shape type for the feature class. This shape type can be one of the following esriGeometryType.

esriGeometryPoint

esriGeometryPolyline

esriGeometryPolygon

pWorkspace

an object specifying the directory or subdirectory to contain the output feature class

name

The name of the output feature class

See Also

IConversionOp Interface