Back to Devexpress

DataSourceParameterBase.Value Property

corelibraries-devexpress-dot-dataaccess-dot-datasourceparameterbase-797ebcbc.md

latest2.8 KB
Original Source

DataSourceParameterBase.Value Property

Specifies the parameter value.

Namespace : DevExpress.DataAccess

Assembly : DevExpress.DataAccess.v25.2.dll

NuGet Package : DevExpress.DataAccess

Declaration

csharp
[LocalizableCategory(DataAccessStringId.PropertyGridDesignCategoryName)]
public object Value { get; set; }
vb
<LocalizableCategory(DataAccessStringId.PropertyGridDesignCategoryName)>
Public Property Value As Object

Property Value

TypeDescription
Object

A Object value.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Value property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-dashboard-designer-merge-dashboards-to-tabs/CS/DashboardMerger/ParametersMerger.cs#L63

csharp
if(parameter.Type.Name == "Expression") {
    Expression parameterExpression = (Expression)parameter.Value;
    if(parameterExpression.ExpressionString.Contains(originalNamePattern))

winforms-dashboard-designer-merge-dashboards-to-tabs/VB/DashboardMerger/ParametersMerger.vb#L68

vb
If parameter.Type.Name = "Expression" Then
    Dim parameterExpression As Expression = DirectCast(parameter.Value, Expression)
    If parameterExpression.ExpressionString.Contains(originalNamePattern) Then

Implements

Value

See Also

DataSourceParameterBase Class

DataSourceParameterBase Members

DevExpress.DataAccess Namespace