The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
All docs
V19.2
19.2
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPServerModeView.AddProperty(String, CriteriaOperator, SortDirection) Method

Creates a new ServerViewProperty object and appends it to the Properties collection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public ServerViewProperty AddProperty(
    string name,
    CriteriaOperator property,
    SortDirection sorting
)
Public Function AddProperty(
    name As String,
    property As CriteriaOperator,
    sorting As SortDirection
) As ServerViewProperty
public ServerViewProperty AddProperty(
    string name,
    CriteriaOperator property,
    SortDirection sorting
)
Public Function AddProperty(
    name As String,
    property As CriteriaOperator,
    sorting As SortDirection
) As ServerViewProperty

Parameters

Name Type Description
name String

A string value that specifies the property name. This value is assigned to the Name property.

property CriteriaOperator

The expression used to calculate values in a column on the data store side.

sorting SortDirection

A SortDirection enumeration value that specifies a sort order for property values to be retrieved from the data store. This value is assigned to the Sorting property.

Parameters

Name Type Description
name String

A string value that specifies the property name. This value is assigned to the Name property.

property CriteriaOperator

The expression used to calculate values in a column on the data store side.

sorting SortDirection

A SortDirection enumeration value that specifies a sort order for property values to be retrieved from the data store. This value is assigned to the Sorting property.

Returns

Type Description
ServerViewProperty

The ServerViewProperty object that was added to the Properties collection.

Returns

Type Description
ServerViewProperty

The ServerViewProperty object that was added to the Properties collection.

See Also