WindowsSubstringWithSpecifiedLength function winrt

int WindowsSubstringWithSpecifiedLength(
  1. int string,
  2. int startIndex,
  3. int length,
  4. Pointer<IntPtr> newString
)

Retrieves a substring from the specified string. The substring starts at a specified character position and has a specified length.

HRESULT WindowsSubstringWithSpecifiedLength(
  HSTRING string,
  UINT32  startIndex,
  UINT32  length,
  HSTRING *newString
);

Implementation

int WindowsSubstringWithSpecifiedLength(
        int string, int startIndex, int length, Pointer<IntPtr> newString) =>
    _WindowsSubstringWithSpecifiedLength(string, startIndex, length, newString);