OrderBy 构造函数 (String, OrderBy.Direction)
Intializes a new instance of the OrderBy object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Sub New ( _
field As String, _
dir As OrderBy.Direction _
)
用法
Dim field As String
Dim dir As OrderBy.Direction
Dim instance As New OrderBy(field, dir)
public OrderBy(
string field,
OrderBy.Direction dir
)
public:
OrderBy(
String^ field,
OrderBy.Direction dir
)
new :
field:string *
dir:OrderBy.Direction -> OrderBy
public function OrderBy(
field : String,
dir : OrderBy.Direction
)
参数
- field
类型:System.String
A string value that specifies the field by which to order results of a query.
- dir
类型:Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy.Direction
A OrderBy.Direction object that indicates the direction, ascending or descending order of results.