Create a WideStringArray instance with the specified options.
Adds an element to the WideStringArray.
The element to add.
A promise that resolves when the element is added.
Copies elements from a source WideStringArray.
The source array to copy from.
The starting position in the source array.
The number of elements to copy.
A promise that resolves to the number of elements copied or -1 if an error occurs.
Destroys the WideStringArray.
A promise that resolves when the WideStringArray is destroyed.
Retrieves an element at a specific index in the WideStringArray.
The index of the element to retrieve.
A promise that resolves to the string element at the specified index.
Retrieves the number of elements in the WideStringArray.
A promise that resolves to the number of elements in the array.
Removes all elements from the WideStringArray.
A promise that resolves when all elements are removed.
Removes an element at a specific index in the WideStringArray.
The index of the element to remove.
A promise that resolves when the element is removed.
StaticcreateCreates a WideStringArray instance.
Optionaloptions: OptionsThe configuration options required for creation, containing necessary initialization information.
A promise that resolves to a WideStringArray instance.
Create a WideStringArray instance. Instead of creating an instance in new mode, use create to create an instance.