Link<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
Link<T>(IEnumerable<T>)
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
Link<T>(Link<T>)
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
Applies to
Link<T>(T)
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.