HString Class
Provides support for manipulating HSTRING handles.
class HString;
Remarks
The Windows Runtime provides access to strings through HSTRING handles. The HString class provides convenience functions and operators to simplify using HSTRING handles.
Members
Public Constructors
Name |
Description |
---|---|
Initializes a new instance of the HString class. |
|
Destroys the current instance of the HString class. |
Members
Name |
Description |
---|---|
Sets the value of the current HString object to the specified wide-character string or HString parameter. |
|
Associates the specified HString object with the current HString object. |
|
Copies the current HString object to an HSTRING object. |
|
Disassociates the specified HString object from its underlying value. |
|
Retrieves a pointer to the underlying HSTRING handle. |
|
Retrieves the value of the underlying HSTRING handle. |
|
Deletes the underlying string value and intializes the current HString object to an empty value. |
|
Creates an HStringReference object from a specified string parameter. |
Public Operators
Name |
Description |
---|---|
Moves the value of another HString object to the current HString object. |
|
Indicates whether the two parameters are equal. |
|
Indicates whether the two parameters are not equal. |
Inheritance Hierarchy
HString
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers