Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Microsoft Specific
Assigns a new value to an existing _bstr_t object.
Syntax
_bstr_t& operator=(const _bstr_t& s1) throw ( );
_bstr_t& operator=(const char* s2);
_bstr_t& operator=(const wchar_t* s3);
_bstr_t& operator=(const _variant_t& var);
Parameters
s1
A _bstr_t object to be assigned to an existing _bstr_t object.
s2
A multibyte string to be assigned to an existing _bstr_t object.
s3
A Unicode string to be assigned to an existing _bstr_t object.
var
A _variant_t object to be assigned to an existing _bstr_t object.
END Microsoft Specific
Example
See _bstr_t::Assign for an example that uses operator=.