Utf16StringMarshaller.GetPinnableReference(String) 方法

定義

取得指定字串的可釘選參考。

public:
 static char ^ GetPinnableReference(System::String ^ str);
public static ref readonly char? GetPinnableReference (string? str);
static member GetPinnableReference : string -> char
Public Shared Function GetPinnableReference (str As String) As Char

參數

str
String

要為其取得參考的字串。

傳回

可釘選的參考。

適用於