Public Shadows Function GetDefinition() As RealtimeFeatureClassDefinition
public new RealtimeFeatureClassDefinition GetDefinition()
Return Value
The RealtimeFeatureClassDefinition of this dataset.
Public Shadows Function GetDefinition() As RealtimeFeatureClassDefinition
public new RealtimeFeatureClassDefinition GetDefinition()
| 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. |
{
// Note: call within QueuedTask.Run()
{
using var rfc = streamLayer.GetFeatureClass();
using var rfc_def = rfc.GetDefinition();
if (rfc_def.HasTrackIDField())
{
//Track aware
}
}
}
{
// Note: call within QueuedTask.Run()
{
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 Home, Pro, Enterprise (64 bit)