Del via


QueryByAttribute.AddOrder-metode

Adds an order to the orders collection.

Navneområde: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)

Syntaks

'Deklaration
Public Sub AddOrder ( _
    attributeName As String, _
    orderType As OrderType _
)
public void AddOrder (
    string attributeName,
    OrderType orderType
)

Parametre

  • attributeName
    Type: Streng. The logical name of the attribute.
  • orderType
    Type: OrderType. The order for that attribute.

Sikkerhed i tråd

Alle offentlige statiske (Shared i Visual Basic) medlemmer af denne type er trådsikret. Alle medlemmer af forekomsten er ikke garanteret trådsikkerhed.

Platforme

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Se også

Reference

QueryByAttribute-klasse
QueryByAttribute-medlemmer
Microsoft.Xrm.Sdk.Query-navneområde

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.