The value object collection that have a name string, using NamedVector for XML serialization instead of using this data model.
NamedCollection
Type Parameters
| Name | Description |
|---|---|
T |
01 Syntax
Microsoft.VisualBasic.ComponentModel.DataSourceModel.NamedCollection`1
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 3 | |
| GetValues | 1 | |
| ToString | 1 | |
| GetEnumerator | 1 | |
| op_Implicit | 1 | |
| op_Explicit | 1 | |
| op_Equality | 1 | |
| op_Inequality | 1 |
03 Properties
04 Members
#ctor(
IEnumerable(Of NamedValue(Of `0)))Parameters
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of NamedValue(Of `0)) | 名称属性NamedValue.Name |
#ctor(
IGrouping(Of String, `0))Create from the linq group output
Parameters
| Name | Type | Description |
|---|---|---|
group | IGrouping(Of String, `0) | - |
#ctor(
String, IEnumerable(Of `0), String)make the given data collection with a label name.
Parameters
| Name | Type | Description |
|---|---|---|
name | String | - |
data | IEnumerable(Of `0) | - |
description | String | - |
name
这个集合对象的标识符名称
value
目标集合对象
description
目标集合对象的描述信息
IsEmpty
当前的这个命名的目标集合对象是否是空对象?
Remarks
has no NamedCollection.name andalso no NamedCollection.value
Item(
Int32)get/set value in a gvien offset position of the data array.
Parameters
| Name | Type | Description |
|---|---|---|
index | Int32 | - |
Length
NamedCollection.value array length
Remarks
this is a safe property getter, null value will returns ZERO always
GetValues()
ToString()
GetEnumerator()
op_Implicit(
ValueTuple(Of String, T()))op_Explicit(NamedCollection(Of T))
op_Equality(NamedCollection(Of T),
Int32)op_Inequality(NamedCollection(Of T),
Int32)