ArcObjects Library Reference (GeoDatabase)  

IFeatureDatasetExtensionContainer.FindExtension Method

Provides access to the feature dataset extension that supports the specified dataset type.

[Visual Basic .NET]
Public Function FindExtension ( _
    ByVal Type As esriDatasetType _
) As IFeatureDatasetExtension
[C#]
public IFeatureDatasetExtension FindExtension (
    esriDatasetType Type
);
[C++]
HRESULT FindExtension(
  esriDatasetType Type,
  IFeatureDatasetExtension** Extension
);
[C++]

Parameters

Type [in]

  Type is a parameter of type esriDatasetType

Extension [out, retval]

  Extension is a parameter of type IFeatureDatasetExtension

Product Availability

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

Remarks

The FindExtension method returns the feature dataset extension for the specified dataset type.  Use this method to return a reference to the IDatasetContainer2 interface for working with and creating Network Datasets.

See Also

IFeatureDatasetExtensionContainer Interface

.NET Snippets

Open Network Dataset

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | Service area solver (Code Files: frmServiceAreaSolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Route layer (Code Files: Program)

.NET Related Topics

How to create a multimodal network dataset | How to create a network dataset | How to open a terrain dataset