DbLikeExpression.Pattern Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an expression that specifies the pattern against which the given string should be compared.
public:
property System::Data::Common::CommandTrees::DbExpression ^ Pattern { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression Pattern { get; }
member this.Pattern : System.Data.Common.CommandTrees.DbExpression
Public ReadOnly Property Pattern As DbExpression
Property Value
An expression that specifies the pattern against which the given string should be compared.
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.