Επεξεργασία

Κοινή χρήση μέσω


Link<T> Constructors

Definition

Initializes a new instance of the Link<T> structure.

Overloads

Link<T>(IEnumerable<T>)

Initializes a new instance of the Link<T> structure by referencing the source.

Link<T>(Link<T>)

Initializes a new instance of the Link<T> structure by copying the internal state from another Link<T> instance.

Link<T>(T)

Initializes a new instance of the Link<T> structure by referencing the value of the property.

Initializes a new instance of the Link<T> structure by referencing the source.

public:
 Link(System::Collections::Generic::IEnumerable<T> ^ source);
public Link (System.Collections.Generic.IEnumerable<T> source);
new System.Data.Linq.Link<'T> : seq<'T> -> System.Data.Linq.Link<'T>
Public Sub New (source As IEnumerable(Of T))

Parameters

source
IEnumerable<T>

The source collection.

Remarks

Use this constructor to initialize the Link<T> with a deferred value loader (implements IEnumerable<T>)

Applies to

Initializes a new instance of the Link<T> structure by copying the internal state from another Link<T> instance.

public:
 Link(System::Data::Linq::Link<T> link);
public Link (System.Data.Linq.Link<T> link);
new System.Data.Linq.Link<'T> : System.Data.Linq.Link<'T> -> System.Data.Linq.Link<'T>
Public Sub New (link As Link(Of T))

Parameters

link
Link<T>

The Link<T> instance from which to copy.

Applies to

Initializes a new instance of the Link<T> structure by referencing the value of the property.

public:
 Link(T value);
public Link (T value);
new System.Data.Linq.Link<'T> : 'T -> System.Data.Linq.Link<'T>
Public Sub New (value As T)

Parameters

value
T

The value for the property.

Remarks

Use this constructor when the value for the property is already known.

Applies to