operator + method

HString operator +(
  1. HString other
)

Concatenates two HStrings.

Implementation

HString operator +(HString other) {
  return using((arena) {
    final pNewString = arena<HSTRING>();
    final hr = WindowsConcatString(handle, other.handle, pNewString);
    if (FAILED(hr)) throwWindowsException(hr);
    return HString._(pNewString.value);
  });
}