Back to Devexpress

XPServerModeView.AddProperty(String, CriteriaOperator) Method

xpo-devexpress-dot-xpo-dot-xpservermodeview-dot-addproperty-x28-system-dot-string-devexpress-dot-data-dot-filtering-dot-criteriaoperator-x29.md

latest1.9 KB
Original Source

XPServerModeView.AddProperty(String, CriteriaOperator) Method

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

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public ServerViewProperty AddProperty(
    string name,
    CriteriaOperator property
)
vb
Public Function AddProperty(
    name As String,
    property As CriteriaOperator
) As ServerViewProperty

Parameters

NameTypeDescription
nameString

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.

|

Returns

TypeDescription
ServerViewProperty

The ServerViewProperty object that was added to the Properties collection.

|

See Also

XPServerModeView Class

XPServerModeView Members

DevExpress.Xpo Namespace