Class ClikeStringArray
- Namespace
- Npp.DotNet.Plugin.Extensions
- Assembly
- Npp.DotNet.Plugin.dll
public sealed class ClikeStringArray : IDisposable
- Inheritance
-
ClikeStringArray
- Implements
- Inherited Members
Constructors
ClikeStringArray(List<string>)
Creates a new ClikeStringArray from the given stringList.
public ClikeStringArray(List<string> stringList)
Parameters
Remarks
Each string in stringList should be no greater than MAX_PATH, less 1 for the NULL terminator.
ClikeStringArray(int, int)
Creates a new ClikeStringArray with capacity for num strings.
public ClikeStringArray(int num, int stringLength)
Parameters
numintThe number of strings in this ClikeStringArray.
stringLengthintThe number of wide characters in each string, not counting the NULL terminator. The memory size of each string in bytes will be equal to
stringLength x sizeof(wchar_t), or simplystringLength x 2on Unicode-aware versions of Windows.
Remarks
stringLength should be no greater than MAX_PATH, less 1 for the NULL terminator.
The constructor will truncate any larger values.
Properties
ManagedStringsAnsi
public List<string> ManagedStringsAnsi { get; }
Property Value
ManagedStringsUnicode
public List<string> ManagedStringsUnicode { get; }
Property Value
NativePointer
public IntPtr NativePointer { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
~ClikeStringArray()
protected ~ClikeStringArray()