Link<T> Constructors
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.
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: