Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the value of the current HString object to the specified wide-character string or HString parameter.
HRESULT Set(
const wchar_t* str) throw();
HRESULT Set(
const wchar_t* str,
unsigned int len
) throw();
HRESULT Set(
const HSTRING& hstr
) throw();
Parameters
str
A wide-character string.len
The maximum length of the str parameter that is assigned to the current HString object.hstr
An existing HString object.
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers