Table of Contents

Class StringList

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll
[Guid("CFEE3140-1157-47CA-8B85-31BFCF3F2D0E")]
public class StringList : ComObject
Inheritance
StringList

Constructors

StringList(nint)

public StringList(nint nativePtr)

Parameters

nativePtr nint

Properties

Count

Gets the number of strings in the string list.

public int Count { get; }

Property Value

int

Methods

GetLocaleName(int, nint, int)

Copies the locale name with the specified index to the specified array.

public void GetLocaleName(int listIndex, nint localeName, int size)

Parameters

listIndex int

Zero-based index of the locale name.

localeName nint

Character array that receives the locale name.

size int

Size of the array in characters. The size must include space for the terminating null character.

GetLocaleNameLength(int, out int)

Gets the length in characters (not including the null terminator) of the locale name with the specified index.

public void GetLocaleNameLength(int listIndex, out int length)

Parameters

listIndex int

Zero-based index of the locale name.

length int

Receives the length in characters, not including the null terminator.

GetString(int, nint, int)

Copies the string with the specified index to the specified array.

public void GetString(int listIndex, nint stringBuffer, int stringBufferSize)

Parameters

listIndex int

Zero-based index of the string.

stringBuffer nint

Character array that receives the string.

stringBufferSize int

Size of the array in characters. The size must include space for the terminating null character.

GetStringLength(int, out int)

Gets the length in characters (not including the null terminator) of the string with the specified index.

public void GetStringLength(int listIndex, out int length)

Parameters

listIndex int

Zero-based index of the string.

length int

Receives the length in characters of the string, not including the null terminator.

Operators

explicit operator StringList(nint)

public static explicit operator StringList(nint nativePtr)

Parameters

nativePtr nint

Returns

StringList