Share via


DictIndex.modify Method

Modifies the index.

Syntax

public boolean modify(
    boolean enabled, 
    boolean allowDuplicates, 
    boolean saveInLoadedLayer)

Run On

Called

Parameters

  • enabled
    Type: boolean
    A Boolean value that indicates whether the index is enabled.
  • allowDuplicates
    Type: boolean
    A Boolean value that indicates whether the index allows duplicates.
  • saveInLoadedLayer
    Type: boolean
    A Boolean value that indicates whether the modification is saved in the layer that is loaded.

Return Value

Type: boolean
true if the index was successfully modified; otherwise, false.

Remarks

This method lets you create, read, update, and delete X++ code and metadata. Make sure that the user has access to the development security key (SysDevelopment) before this API is called.

See Also

Reference

DictIndex Class