DbLikeExpression.Argument Property

Definition

Gets or sets an expression that specifies the string to compare against the given pattern.

public:
 property System::Data::Common::CommandTrees::DbExpression ^ Argument { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression Argument { get; }
member this.Argument : System.Data.Common.CommandTrees.DbExpression
Public ReadOnly Property Argument As DbExpression

Property Value

An expression that specifies the string to compare against the given pattern.

Exceptions

The expression is null.

The expression is not associated with the command tree of DbLikeExpression, or its result type is not a string type.

Applies to