The following tables list the members exposed by FeatureSource.
Name | Description | |
---|---|---|
AllowDuplicateLabels | Enables/disables the display of duplicate labels for this feature source. | |
AllowModify | Indicates existing data in the feature source can be modified. | |
AllowNew | Indicates if new data can be added to this feature source. | |
AttachmentManager | Gets the attachment manager for this layer. | |
Columns | Returns the column collection representing attribute fields in a feature source. | |
DefaultTransparency | Gets the feature source transparency as a percentage. | |
DefaultVisibility | Gets the default visibility. | |
DisplayColumnIndex | Gets the display column index. | |
DisplayColumnName | Gets the display column name. | |
EditsCount | Gets the number of edited features in the feature source. | |
FidColumnIndex | Gets the primary key column index. | |
FidColumnName | Gets the primary key column name. | |
FullExtent | Returns an envelope describing full boundary of this feature source. | |
GeometryColumnIndex | Gets the ESRI Geometry column index. | |
GeometryColumnName | Gets the ESRI Geometry column name. | |
GeometryEditable | Indicates if the geometry is editable. | |
GeometryType | Gets the type of geometry contained in the FeatureSource. | |
GlobalIdColumnIndex | Gets the global Id column index. | |
GlobalIdColumnName | Gets the global Id column name. | |
HasEdits | Returns true if the feature source has edits. | |
HasSubtypes | Indicates if the feature source has subtypes. | |
Id | Gets the unique identifier for the feature source. | |
IsAnnotationSource | Indicates if the feature source is an annotation source. | |
IsVersioned | Indicates if the feature source is versioned. | |
LabelClasses | Gets the label classes. | |
MaxScale | Gets the maximum scale range at which the feature source should be drawn. A value of 0 indicates that it has no maximum. | |
MinScale | Gets the minimum scale range at which the source should be drawn. A value of 0 indicates that it has no minimum. | |
MobileCache | Gets the mobile cache this feature source belongs to. | |
Name | Gets the name. | |
Namespace | Gets the namespace for the XML representation of the data. | |
Renderer | Gets the source renderer. | |
ServerDefinitionExpression | Gets server definition expression for the source. | |
ServerFeatureClassName | Gets the server feature class name. | |
SubtypeColumnIndex | Gets the subtype column index. | |
SubtypeColumnName | Gets the subtype column name. | |
Subtypes | Returns the subtypes DataTable. | |
VersionName | Gets the version name used by this feature source when data is retrieved from or posted to the server. | |
Workspace | Gets the editing workspace for this layer. |
Name | Description | |
---|---|---|
CancelAllEdits | Overloaded. Cancel all edits, original data are restored. | |
CancelEdits | Overloaded. Cancels edit for a list of features. if fids is null then it will cancel all edits. | |
ChangeVersionName | Change the editing version for the feature source. If the feature source is not empty, the data will be removed from the cache. The targetEditingVersionName is not verified against the server until a request is executed, be sure to provide a valid version name. | |
CreateIndex | Creates a new index on featuresource column. | |
DeleteIndex | Drop an index | |
GetDataReader | Overloaded. FeatureDataReader returns an implementation of ADO.NET System.Data.IDataReader providing access to data. The returned data is based on a query filter and it corresponds to the cached data and the edits. | |
GetDataTable | Overloaded. Gets an empty FeatureDataTable. | |
GetFeatureCount | Overloaded. Returns the current feature count. | |
GetIndexes | Gets a dictionary of indexes and ColumnNames created for the index | |
GetLegendItems | Returns a collection of legend items for the different symbols of the renderer object. | |
GetStoredEditState | Returns the stored edit state of this feature. | |
InScaleRange | Returns true if the feature source is visible at the specified scale. | |
IsDataCached | Determines if data has been cached for the specified area. | |
RecommendedSwatchSize | This method creates a System.Drawing.Size object for swatch size with maximum width and height. The size is recommended for best fit, but not required to use. You can create your own size for a Table Of Contents. | |
RemoveFeatures | Overloaded. Removes the non edited features for the extent. | |
RestoreDefaultVersionName | Restores the default editing version name. It will remove all the cached data for the feature source. | |
SaveEdits | Applies the changes from the FeatureDataTable into the deleted, updated, and added features. | |
ToString | Overridden. Overridden. Returns the name of the source. |
Name | Description | |
---|---|---|
OnClosing | Broadcasts the Closing event. | |
OnDataChanged | Broadcasts the DataChanged event. |
Name | Description | |
---|---|---|
Closing | Occurs when the layer is closing . | |
DataChanged | Occurs when the feature source data have changed. |