HandleT::operator= 运算符

将指定的 HandleT 对象的值设置为当前 HandleT 对象。

HandleT& operator=(
   _Inout_ HandleT&& h
);

参数

  • h
    对图柄的左值引用。

返回值

对当前HandleT对象的指针引用。

备注

此操作无效参数指定的 HandleT 对象 h。

要求

**标头:**corewrappers.h

**命名空间:**Microsoft::WRL::Wrappers

请参见

参考

HandleT 类