public new RealtimeFeatureClassDefinition GetDefinition()
Public Shadows Function GetDefinition() As RealtimeFeatureClassDefinition
Return Value
The RealtimeFeatureClassDefinition of this dataset.
public new RealtimeFeatureClassDefinition GetDefinition()
Public Shadows Function GetDefinition() As RealtimeFeatureClassDefinition
Exception | Description |
---|---|
System.InvalidOperationException | This dataset does not have a valid definition. |
ArcGIS.Core.Data.Exceptions.GeodatabaseException | A geodatabase-related exception has occurred. |
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
using (var rfc = streamLayer.GetFeatureClass()) using (var rfc_def = rfc.GetDefinition()) { if (rfc_def.HasTrackIDField()) { //Track aware } }
//Must be on QueuedTask using (var rfc = streamLayer.GetFeatureClass()) using (var rfc_def = rfc.GetDefinition()) { if (rfc_def.HasTrackIDField()) { var fld_name = rfc_def.GetTrackIDField(); } }
Target Platforms: Windows 11, Windows 10