Initializes a new FeatureLayer object and connects the layer to a file geodatabase feature class.

Namespace:  ESRI.ArcGISExplorer.Mapping
Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)

Syntax

C#
public static FeatureLayer OpenFileGeodatabaseTable(
	string path,
	string tablename
)
Visual Basic (Declaration)
Public Shared Function OpenFileGeodatabaseTable ( _
	path As String, _
	tablename As String _
) As FeatureLayer

Parameters

path
Type: System..::.String
The path to a file geodatabase.
tablename
Type: System..::.String
The name of a file geodatabase feature class.

Return Value

A FeatureLayer object connected to the specified file geodatabase feature class.

Remarks

Use this method to both instantiate a FeatureLayer and connect the layer to a feature class stored in a file geodatabase. In contrast to the Connect method, an exception will be thrown if the specified path and feature class name are incorrect.

See Also

Relate Topics:
  Connect Method
  CreateFromXmlString Method
  Disconnect Method
  MoveTo Method
  OpenArcSDETable Method
  OpenFromTable Method
  OpenShapefile Method
Created by Atop CHM to web converter,© 2009 all right reserved.