The property value selector
Selector
01 Syntax
Microsoft.VisualBasic.Scripting.Expressions.Selector
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Select | 2 | |
| Select | 2 | Where selector.(这个函数之中只有数字和字符串的比较) |
| Select | 1 | Select all of the object elements their a specific property value and convert to a specific value type. |
| ParseExpression | 1 |
03 Members
Select(
IEnumerable, Type, String)Select property value from target source collection by using a specific property name
Parameters
| Name | Type | Description |
|---|---|---|
source | IEnumerable | - |
type | Type | - |
propertyName$ | String | - |
Select``1(
IEnumerable, Type, String)Select property value from target source collection by using a specific property name and with a specific type casting constraint.
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
source | IEnumerable | - |
type | Type | - |
propertyName$ | String | - |
Where selector.(这个函数之中只有数字和字符串的比较)
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of ``0) | - |
expression$ | String | propertyName operator value
|
Select``2(
IEnumerable(Of ``0), String)Select all of the object elements their a specific property value and convert to a specific value type. (将对象类型之中的某一个属性筛选出来,然后转换为指定的数据类型)
Type Parameters
| Name | Description |
|---|---|
T | |
V |
Parameters
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of ``0) | - |
propertyName$ | String | If the property name is |
Select(
IEnumerable(Of T), String)ParseExpression(
String)