Table of Contents

ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

<!– Class –> This class represents a layer backed by an ArcSDE server.

Inheritance Hierarchy

*System.Object ThinkGeo.MapSuite.Core.Layer *ThinkGeo.MapSuite.Core.FeatureLayer ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodArcSdeFeatureLayer This is the class constructor.
Public MethodArcSdeFeatureLayer String, String, String, String, String, String, String, String, String This is the class constructor.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodCloneDeep Layer
Public MethodClose Layer
Public MethodDraw GeoCanvas, Collection<SimpleCandidate> Layer
Public MethodEquals Object Object
Public MethodGetBoundingBox Layer
Public MethodGetFeatureClassNamesBySchema String This method is used to get a list of feature class names in the specified feature schema name.
Public MethodGetFeatureSchemaNames This method is used to get a list of feature schema names in the current datastore.
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodOpen Layer
Public MethodToString Object

Protected Methods

Public Properties

Name Return DeclaringType Summary
Public PropertyConnectionString String This property gets and sets the connection string used to connect to the ArcSDE server.
Public PropertyDatastore String This property gets and sets the datastore of the ArcSDE server.
Public PropertyDrawingExceptionMode DrawingExceptionMode Layer
Public PropertyDrawingMarginPercentage Double FeatureLayer
Public PropertyDrawingQuality DrawingQuality FeatureLayer
Public PropertyDrawingTime TimeSpan Layer
Public PropertyEditTools EditTools FeatureLayer
Public PropertyFeatureClassName String This property gets and sets the name of the feature class in the feature schema.
Public PropertyFeatureIdsToExclude Collection<String> FeatureLayer
Public PropertyFeatureSchemaName String This property gets and sets the name of the feature schema in the datastore.
Public PropertyFeatureSource FeatureSource FeatureLayer
Public PropertyGeometryColumnName String This property gets and sets the name of the column that holds the geometry.
Public PropertyHasBoundingBox Boolean Layer(overriden) This property checks to see if a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs. In ArcSdeFeatureLayer, we override this API and mark it as true.
Public PropertyIdColumnName String This property gets and sets the name of the column that holds the unique feature Id.
Public PropertyInstance String This property gets and sets the port of the ArcSDE server.
Public PropertyIsGrayscale Boolean Layer
Public PropertyIsNegative Boolean Layer
Public PropertyIsOpen Boolean Layer
Public PropertyIsVisible Boolean Layer
Public PropertyMaxRecordsToDraw Int32 FeatureLayer
Public PropertyName String Layer
Public PropertyPassword String This property gets and sets the password for the ArcSDE server.
Public PropertyQueryTools QueryTools FeatureLayer
Public PropertyServer String This property gets and sets the machine name or IP address of the ArcSDE server.
Public PropertyTransparency Single Layer
Public PropertyUsername String This property gets and sets the username for the ArcSDE server.
Public PropertyWrappingExtent RectangleShape FeatureLayer
Public PropertyWrappingMode WrappingMode FeatureLayer
Public PropertyZoomLevelSet ZoomLevelSet FeatureLayer

Protected Properties

Name Return DeclaringType Summary
Protected PropertyIsOpenCore Boolean Layer(overriden)

Public Events

Public Constructors

ArcSdeFeatureLayer()

This is the class constructor.

Overloads

This is the default constructor, which requires you to set the properties after you create the class.

Parameters

Name Type Description

Go Back

ArcSdeFeatureLayer(String, String, String, String, String, String, String, String, String)

This is the class constructor.

Overloads

This constructor allows you to input all required information to create an ArcSdeFeatureSource.

Parameters

Name Type Description
server String<!– System.String –> This parameter represents the machine name or IP address of the ArcSDE server.
instance String<!– System.String –> This parameter represents the port of the server.
username String<!– System.String –> This parameter represents the username for the ArcSDE server.
password String<!– System.String –> This parameter represents the password for the ArcSDE server.
datastore String<!– System.String –> This parameter represents the datastore of the ArcSDE server.
idColumnName String<!– System.String –> This parameter represents the name of the column that holds the unique feature Id.
featureSchemaName String<!– System.String –> This parameter represents the name of the feature schema in the datastore.
featureClassName String<!– System.String –> This parameter represents the name of the feature class in the feature schema.
geometryColumnName String<!– System.String –> This parameter represents the name of the column that holds the geometry.

Go Back

Protected Constructors

Public Methods

CloneDeep()

Return Value

Return Type Description
Layer<!– ThinkGeo.MapSuite.Core.Layer –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

Close()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

Draw(GeoCanvas, Collection<SimpleCandidate>)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>
labelsInAllLayers Collection<SimpleCandidate><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.SimpleCandidate} –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetBoundingBox()

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

GetFeatureClassNamesBySchema(String)

This method is used to get a list of feature class names in the specified feature schema name.

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

Parameters

Name Type Description
featureSchemaName String<!– System.String –> This parameter represents the feature schema name whose feature class names you want to list.

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

GetFeatureSchemaNames()

This method is used to get a list of feature schema names in the current datastore.

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –> A list of schema names in the current datastore.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Open()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

CloneDeepCore()

Return Value

Return Type Description
Layer<!– ThinkGeo.MapSuite.Core.Layer –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

CloseCore()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

DrawCore(GeoCanvas, Collection<SimpleCandidate>)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>
labelsInAllLayers Collection<SimpleCandidate><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.SimpleCandidate} –>

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

DrawException(GeoCanvas, Exception)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>
e Exception<!– System.Exception –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

DrawExceptionCore(GeoCanvas, Exception)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>
e Exception<!– System.Exception –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetBoundingBoxCore()

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

OnDrawingException(DrawingExceptionLayerEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e DrawingExceptionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawingExceptionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

OnDrawingFeatures(DrawingFeaturesEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e DrawingFeaturesEventArgs<!– ThinkGeo.MapSuite.Core.DrawingFeaturesEventArgs –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e DrawingProgressChangedEventArgs<!– ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e DrawingWrappingFeaturesFeatureLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawingWrappingFeaturesFeatureLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

OnDrawnException(DrawnExceptionLayerEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e DrawnExceptionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawnExceptionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

OpenCore()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

SetupTools()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

SetupToolsCore()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

Public Properties

ConnectionString

This property gets and sets the connection string used to connect to the ArcSDE server.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

Datastore

This property gets and sets the datastore of the ArcSDE server.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

DrawingExceptionMode

Return Value

Return Type
DrawingExceptionMode<!– ThinkGeo.MapSuite.Core.DrawingExceptionMode –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

DrawingMarginPercentage

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

DrawingQuality

Return Value

Return Type
DrawingQuality<!– ThinkGeo.MapSuite.Core.DrawingQuality –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

DrawingTime

Return Value

Return Type
TimeSpan<!– System.TimeSpan –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

EditTools

Return Value

Return Type
EditTools<!– ThinkGeo.MapSuite.Core.EditTools –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

FeatureClassName

This property gets and sets the name of the feature class in the feature schema.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

FeatureIdsToExclude

Return Value

Return Type
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

FeatureSchemaName

This property gets and sets the name of the feature schema in the datastore.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

FeatureSource

Return Value

Return Type
FeatureSource<!– ThinkGeo.MapSuite.Core.FeatureSource –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

GeometryColumnName

This property gets and sets the name of the column that holds the geometry.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

HasBoundingBox

This property checks to see if a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs. In ArcSdeFeatureLayer, we override this API and mark it as true.

Remarks

The default implementation in the base class returns false.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

IdColumnName

This property gets and sets the name of the column that holds the unique feature Id.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

Instance

This property gets and sets the port of the ArcSDE server.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

IsGrayscale

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

IsNegative

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

IsOpen

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

IsVisible

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

MaxRecordsToDraw

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

Name

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

Password

This property gets and sets the password for the ArcSDE server.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

QueryTools

Return Value

Return Type
QueryTools<!– ThinkGeo.MapSuite.Core.QueryTools –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

Server

This property gets and sets the machine name or IP address of the ArcSDE server.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

Transparency

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

Username

This property gets and sets the username for the ArcSDE server.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.ArcSdeFeatureLayer –> Go Back

WrappingExtent

Return Value

Return Type
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

WrappingMode

Return Value

Return Type
WrappingMode<!– ThinkGeo.MapSuite.Core.WrappingMode –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

ZoomLevelSet

Return Value

Return Type
ZoomLevelSet<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

Protected Properties

IsOpenCore

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.Layer(overriden) –> Go Back

Public Events

DrawingException

Event Arguments

Event Arguments
DrawingExceptionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawingExceptionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

DrawingFeatures

Event Arguments

Event Arguments
DrawingFeaturesEventArgs<!– ThinkGeo.MapSuite.Core.DrawingFeaturesEventArgs –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

DrawingProgressChanged

Event Arguments

Event Arguments
DrawingProgressChangedEventArgs<!– ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

DrawingWrappingFeatures

Event Arguments

Event Arguments
DrawingWrappingFeaturesFeatureLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawingWrappingFeaturesFeatureLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.FeatureLayer –> Go Back

DrawnException

Event Arguments

Event Arguments
DrawnExceptionLayerEventArgs<!– ThinkGeo.MapSuite.Core.DrawnExceptionLayerEventArgs –>

<!– ThinkGeo.MapSuite.Core.Layer –> Go Back

NOTOC MapSuiteSpatialDataExtension ThinkGeo.MapSuite.Core UpdateDocumentation