Training
Module
Perform basic string formatting in C# - Training
Combine literal and variable text data that contain special characters, formatting, and Unicode into meaningful messages for the end user.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This header is used by Windows Runtime C++ reference. For more information, see:
winstring.h contains the following programming interfaces:
HSTRING_UserFree The HSTRING_UserFree function (winstring.h) frees resources on the server side when called by RPC stub files. |
HSTRING_UserMarshal The HSTRING_UserMarshal function (winstring.h) marshals an HSTRING object into the RPC buffer. |
HSTRING_UserSize The HSTRING_UserSize function (winstring.h) calculates the wire size of the HSTRING object, and retrieves its handle and data. |
HSTRING_UserUnmarshal The HSTRING_UserUnmarshal function (winstring.h) unmarshals an HSTRING object from the RPC buffer. |
WindowsCompareStringOrdinal Compares two specified HSTRING objects and returns an integer that indicates their relative position in a sort order. |
WindowsConcatString Concatenates two specified strings. |
WindowsCreateString Creates a new HSTRING based on the specified source string. |
WindowsCreateStringReference Creates a new string reference based on the specified string. |
WindowsDeleteString Decrements the reference count of a string buffer. |
WindowsDeleteStringBuffer Discards a preallocated string buffer if it was not promoted to an HSTRING. |
WindowsDuplicateString Creates a copy of the specified string. |
WindowsGetStringLen Gets the length, in Unicode characters, of the specified string. |
WindowsGetStringRawBuffer Retrieves the backing buffer for the specified string. |
WindowsInspectString Provides a way to for debuggers to display the value of a Windows Runtime�HSTRING in another address space, remotely, or from a dump. (WindowsInspectString) |
WindowsInspectString2 Provides a way to for debuggers to display the value of a Windows Runtime�HSTRING in another address space, remotely, or from a dump. (WindowsInspectString2) |
WindowsIsStringEmpty Indicates whether the specified string is the empty string. |
WindowsPreallocateStringBuffer Allocates a mutable character buffer for use in HSTRING creation. |
WindowsPromoteStringBuffer Creates an HSTRING from the specified HSTRING_BUFFER. |
WindowsReplaceString Replaces all occurrences of a set of characters in the specified string with another set of characters to create a new string. |
WindowsStringHasEmbeddedNull Indicates whether the specified string has embedded null characters. |
WindowsSubstring Retrieves a substring from the specified string. The substring starts at the specified character position. |
WindowsSubstringWithSpecifiedLength Retrieves a substring from the specified string. The substring starts at a specified character position and has a specified length. |
WindowsTrimStringEnd Removes all trailing occurrences of a specified set of characters from the source string. |
WindowsTrimStringStart Removes all leading occurrences of a specified set of characters from the source string. |
PINSPECT_HSTRING_CALLBACK Provides a function pointer to the callback used by the WindowsInspectString function. |
Training
Module
Perform basic string formatting in C# - Training
Combine literal and variable text data that contain special characters, formatting, and Unicode into meaningful messages for the end user.