Utf16StringMarshaller.GetPinnableReference(String) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a pinnable reference for the specified string.
public:
 static char ^ GetPinnableReference(System::String ^ str);public static ref readonly char? GetPinnableReference(string? str);static member GetPinnableReference : string -> charPublic Shared Function GetPinnableReference (str As String) As CharParameters
- str
- String
The string to get a reference for.
Returns
A pinnable reference.