Returns a GeodatabaseFolder which represents a feature dataset stored in a geodatabase.

Namespace:  ESRI.ArcGISExplorer.Data

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public GeodatabaseFolder OpenGeodatabaseFolder(
	string name
)
Visual Basic (Declaration)
Public Function OpenGeodatabaseFolder ( _
	name As String _
) As GeodatabaseFolder

Parameters

name
Type: System..::.String

The name of the feature dataset to open.

Return Value

A GeodatabaseFolder object representing a geodatabase feature dataset which may contain a number of feature classes sharing the same CoordinateSystem.

Examples

The code below opens a feature dataset, prints the out the name of the common coordinate system and then prints out the names of the constituent feature classes.
CopyC#
//Open the geodatabase
Geodatabase fileGdb = new Geodatabase(@"C:\Data\Scotland.gdb");

//Open a geodatabase feature dataset
GeodatabaseFolder folder = fileGdb.OpenGeodatabaseFolder("Transportation");

//Print the name of the shared coordinate system
System.Diagnostics.Debug.Print(folder.CoordinateSystem.Name);

//Loop over an enumeration of feature classes contained within the feature dataset
foreach (Table fc in folder.GetTables())
{
  //Print the name of each feature class in the Transportation feature dataset
  System.Diagnostics.Debug.Print(fc.Name);
}
CopyVB.NET
'Open the geodatabase
Dim fileGdb As Geodatabase = New Geodatabase("C:\Data\Scotland.gdb")

'Open a geodatabase feature dataset
Dim folder As GeodatabaseFolder = fileGdb.OpenGeodatabaseFolder("Transportation")

'Loop over an enumeration of feature classes contained within the feature dataset
For Each fc As Table In folder.GetTables()
  'Print the name of each feature class in the Transportation feature dataset
  System.Diagnostics.Debug.Print(fc.Name)
Next

'Print the name of the shared coordinate system
System.Diagnostics.Debug.Print(folder.CoordinateSystem.Name)

See Also