DbLikeExpression.Pattern 属性

定义

获取或设置一个表达式,该表达式指定应比较给定字符串的模式。

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

属性值

一个表达式,指定应对其比较给定字符串的模式。

例外

表达式为 null.

表达式与命令树 DbLikeExpression不关联,或者其结果类型不是字符串类型。

适用于