LinkedList<T>.First Propiedad

Definición

Obtiene el primer nodo de .LinkedList<T>

public:
 property System::Collections::Generic::LinkedListNode<T> ^ First { System::Collections::Generic::LinkedListNode<T> ^ get(); };
public System.Collections.Generic.LinkedListNode<T> First { get; }
member this.First : System.Collections.Generic.LinkedListNode<'T>
Public ReadOnly Property First As LinkedListNode(Of T)

Valor de propiedad

El primero LinkedListNode<T> de .LinkedList<T>

Ejemplos

Para obtener un ejemplo que incluya esta propiedad, vea la LinkedList<T> clase .

Comentarios

LinkedList<T> acepta null como válido Value para los tipos de referencia y permite valores duplicados.

Si está LinkedList<T> vacío, las First propiedades y Last contienen null.

Recuperar el valor de esta propiedad es una operación O(1).

Se aplica a