LinkedList<T>.Last プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
LinkedList<T>の最後のノードを取得します。
public:
property System::Collections::Generic::LinkedListNode<T> ^ Last { System::Collections::Generic::LinkedListNode<T> ^ get(); };
public System.Collections.Generic.LinkedListNode<T> Last { get; }
member this.Last : System.Collections.Generic.LinkedListNode<'T>
Public ReadOnly Property Last As LinkedListNode(Of T)
プロパティ値
LinkedList<T>の最後のLinkedListNode<T>。
例
このプロパティを含む例については、 LinkedList<T> クラスを参照してください。
注釈
LinkedList<T>は、参照型の有効なValueとしてnullを受け入れ、重複する値を許可します。
LinkedList<T>が空の場合、FirstプロパティとLastプロパティにはnullが含まれます。
このプロパティの値の取得は O(1) 操作です。