definitionExpression property

String definitionExpression

A SQL expression which limits the features available for query and display on the feature layer.

The definition expression string should follow standard SQL syntax as detailed in the SQL reference for query expressions used in ArcGIS document.

Implementation

String get definitionExpression {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_FeatureLayer_getDefinitionExpression(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}
void definitionExpression=(String value)

Implementation

set definitionExpression(String value) {
  final coreValue = _CString(value);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_FeatureLayer_setDefinitionExpression(
      _handle,
      coreValue.bytes,
      errorHandler,
    );
  });
}