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指令樹相關聯,或其結果型別不是字串型別。

適用於