Link<T> 构造函数

定义

初始化 Link<T> 结构的新实例。Initializes a new instance of the Link<T> structure.

重载

Link<T>(IEnumerable<T>)

通过引用源初始化 Link<T> 结构的新实例。Initializes a new instance of the Link<T> structure by referencing the source.

Link<T>(Link<T>)

通过从其他 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)

通过引用属性的值初始化 Link<T> 结构的新实例。Initializes a new instance of the Link<T> structure by referencing the value of the property.

通过引用源初始化 Link<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))

参数

source
IEnumerable<T>

源集合。The source collection.

注解

使用此构造函数初始化 Link<T> 具有 (实现的延迟值加载程序 IEnumerable<T>) Use this constructor to initialize the Link<T> with a deferred value loader (implements IEnumerable<T>)

适用于

通过从其他 Link<T> 实例复制内部状态来初始化 Link<T> 结构的新实例。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))

参数

link
Link<T>

从其复制的 Link<T> 实例。The Link<T> instance from which to copy.

适用于

通过引用属性的值初始化 Link<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)

参数

value
T

属性的值。The value for the property.

注解

如果已知道属性的值,请使用此构造函数。Use this constructor when the value for the property is already known.

适用于