Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at HString::Set Method.
Sets the value of the current HString object to the specified wide-character string or HString parameter.
Syntax
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