String.GetPinnableReference String.GetPinnableReference String.GetPinnableReference String.GetPinnableReference Method

Definition

Returns a reference to the element of the string at index zero.

public:
 char ^ GetPinnableReference();
public ref readonly char GetPinnableReference ();
member this.GetPinnableReference : unit -> char
Public Function GetPinnableReference () As Char

Returns

A character representing the reference to the element of the string at index zero.

Exceptions

Remarks

The GetPinnableReference method returns a character that can be used for pinning a String in memory. It is required to support the use of a String within a fixed statement.

Applies to