PropertyExpression コンストラクター (String, String)
指定したプロパティ名と値を使用して、PropertyExpression クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.VisualStudio.TestTools.UITesting
アセンブリ: Microsoft.VisualStudio.TestTools.UITest.Extension (Microsoft.VisualStudio.TestTools.UITest.Extension.dll 内)
構文
'宣言
Public Sub New ( _
propertyName As String, _
propertyValue As String _
)
public PropertyExpression(
string propertyName,
string propertyValue
)
public:
PropertyExpression(
String^ propertyName,
String^ propertyValue
)
new :
propertyName:string *
propertyValue:string -> PropertyExpression
public function PropertyExpression(
propertyName : String,
propertyValue : String
)
パラメーター
- propertyName
型 : System.String
検索対象のプロパティの名前。
- propertyValue
型 : System.String
プロパティの検索値。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。