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
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
intZero-based index of the locale name.
localeName
nintCharacter array that receives the locale name.
size
intSize 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
intZero-based index of the locale name.
length
intReceives 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
intZero-based index of the string.
stringBuffer
nintCharacter array that receives the string.
stringBufferSize
intSize 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
intZero-based index of the string.
length
intReceives 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