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