Initializes a new FeatureLayer object and connects the layer to an in-memory Table.

Namespace:  ESRI.ArcGISExplorer.Mapping

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

Syntax

C#
public static FeatureLayer OpenFromTable(
	Table table
)
Visual Basic (Declaration)
Public Shared Function OpenFromTable ( _
	table As Table _
) As FeatureLayer

Parameters

table
Type: ESRI.ArcGISExplorer.Data..::.Table

A Table object containing spatial data.

Return Value

A FeatureLayer object connected to the specified Table.

Remarks

Use this method to both instantiate a FeatureLayer and connect the layer to an in-memory Table. In contrast to the Connect method, an exception will be thrown if the specified Table does not contain spatial data.

See Also