HString::HString 构造函数

初始化 HString 类的新实例。

   HString(HSTRING hstr = nullptr) throw();
   HString(HString&& other) throw();

参数

  • hstr
    HSTRING 处理。

  • other
    现有 HString 对象。

备注

第一个构造函数初始化为空的新 HString 对象。

第二个构造函数初始化为现有 other 参数的值的新 HString 对象,然后销毁 other 参数。

要求

标题: corewrappers.h

命名空间: Microsoft:: WRL:: 包装

请参见

参考

HString 类