LinkedListNode(T) Class

Represents a node in a LinkedList(T). This class cannot be inherited.

System.Object
  System.Collections.Generic.LinkedListNode(T)

Namespace:  System.Collections.Generic
Assemblies:   System (in System.dll)
  System.Collections (in System.Collections.dll)

[<Sealed>]
[<ComVisibleAttribute(false)>]
type LinkedListNode<'T> =  class end

Type Parameters

T

Specifies the element type of the linked list.

The LinkedListNode(T) type exposes the following members.

  NameDescription
Public methodSupported by the XNA FrameworkSupported by Portable Class LibraryLinkedListNode(T)Initializes a new instance of the LinkedListNode(T) class, containing the specified value.
Top

  NameDescription
Public propertySupported by the XNA FrameworkSupported by Portable Class LibraryListGets the LinkedList(T) that the LinkedListNode(T) belongs to.
Public propertySupported by the XNA FrameworkSupported by Portable Class LibraryNextGets the next node in the LinkedList(T).
Public propertySupported by the XNA FrameworkSupported by Portable Class LibraryPreviousGets the previous node in the LinkedList(T).
Public propertySupported by the XNA FrameworkSupported by Portable Class LibraryValueGets the value contained in the node.
Top

  NameDescription
Public methodSupported by the XNA FrameworkSupported by Portable Class LibraryEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodSupported by the XNA FrameworkSupported by Portable Class LibraryGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodSupported by the XNA FrameworkSupported by Portable Class LibraryGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodSupported by the XNA FrameworkSupported by Portable Class LibraryToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Each element of the LinkedList(T) collection is a LinkedListNode(T). The LinkedListNode(T) contains a value, a reference to the LinkedList(T) that it belongs to, a reference to the next node, and a reference to the previous node.

The following code example creates a LinkedListNode(T), adds it to a LinkedList(T), and tracks the values of its properties as the LinkedList(T) changes.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft