Description:

Add a new StringField to the dictionary which will reference a filename. A file watcher will automatically be attached to the referenced file, and the content will be considered changed when the file is changed on disk.

Syntax:
public StringField AddFilename(
String key,
String value,
String prompt,
Int32 sectionId
)
Parameters:
  • key
  • Type: System.String
  • Key name for the field value to add. See important note above.
  • value
  • Type: System.String
  • Initial value for this field.
  • prompt
  • Type: System.String
  • Prompt to display in the user interface (Content Browsers) if this is None or an empty string the this field is a data only field and will not appear in the user interface.
  • sectionId
  • Type: System.Int32
  • The id of the section containing the field
Returns:
Available since:
7.4

Nothing found