Table of Contents

Class ClikeStringArray

Namespace
Npp.DotNet.Plugin
Assembly
Npp.DotNet.Plugin.dll
public 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

stringList List<string>

A List<T> of managed .NET strings.

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

num int

The number of strings in this ClikeStringArray.

stringLength int

The 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 simply stringLength x 2 on 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

List<string>

ManagedStringsUnicode

public List<string> ManagedStringsUnicode { get; }

Property Value

List<string>

NativePointer

public IntPtr NativePointer { get; }

Property Value

IntPtr

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

~ClikeStringArray()

protected ~ClikeStringArray()