LinkedList<T>.First 속성

정의

의 첫 번째 노드를 가져옵니다 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)

속성 값

의 첫 번째 LinkedListNode<T> 입니다 LinkedList<T>.

예제

이 속성을 포함하는 예제는 클래스를 참조하세요 LinkedList<T> .

설명

LinkedList<T>null 참조 형식에 유효한 Value 것으로 허용되며 중복 값을 허용합니다.

비어 있는 LinkedList<T> 경우 및 First 속성은 .를 Last 포함합니다null.

이 속성의 값을 검색하는 것은 O(1) 작업입니다.

적용 대상