IConventionIndex.SetIsDescending 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定此索引的排序順序(升序或降序)。
public System.Collections.Generic.IReadOnlyList<bool>? SetIsDescending(System.Collections.Generic.IReadOnlyList<bool>? descending, bool fromDataAnnotation = false);
abstract member SetIsDescending : System.Collections.Generic.IReadOnlyList<bool> * bool -> System.Collections.Generic.IReadOnlyList<bool>
Public Function SetIsDescending (descending As IReadOnlyList(Of Boolean), Optional fromDataAnnotation As Boolean = false) As IReadOnlyList(Of Boolean)
參數
- descending
- IReadOnlyList<Boolean>
一組值,指示每個對應的索引欄是否採用遞減排序順序。
- fromDataAnnotation
- Boolean
表示配置是否以資料註解方式指定。
傳回
已設定的排序順序。