public virtual bool CanSetTime( TimeParameters timeParams )
Public Overridable Function CanSetTime( _ ByVal timeParams As TimeParameters _ ) As Boolean
Parameters
- timeParams
- The time parameters to set.
public virtual bool CanSetTime( TimeParameters timeParams )
Public Overridable Function CanSetTime( _ ByVal timeParams As TimeParameters _ ) As Boolean
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
The following outlines some of the rules for determining validity of the time parameters with respect to the mapMember
- The rules as specified in TimeParameters.IsValid.
- if a StartTimeFieldName is specified it must exist and not be of type ArcGIS.Core.Data.FieldType.TimeOnly.
- if a EndTimeFieldName is specified it must exist and not be of type ArcGIS.Core.Data.FieldType.TimeOnly.
- if both StartTimeFieldName and EndTimeFieldName are specified and StartTimeFieldName is of type ArcGIS.Core.Data.FieldType.DateOnly then EndTimeFieldName must also be ArcGIS.Core.Data.FieldType.DateOnly.
- if both StartTimeFieldName and EndTimeFieldName are specified and StartTimeFieldName is of type ArcGIS.Core.Data.FieldType.TimestampOffset then EndTimeFieldName must also be ArcGIS.Core.Data.FieldType.TimestampOffset.
- if both StartTimeFieldName and EndTimeFieldName are specified and StartTimeFieldName is of type ArcGIS.Core.Data.FieldType.Date then EndTimeFieldName must not be of type ArcGIS.Core.Data.FieldType.DateOnly or ArcGIS.Core.Data.FieldType.TimestampOffset.
Target Platforms: Windows 11, Windows 10