语言

ForEachLoop.GetExpression(String) 方法

定义

返回包含指定属性表达式的字符串。 空意味着没有分配表达式。

public:
 virtual System::String ^ GetExpression(System::String ^ propertyName);
public string GetExpression(string propertyName);
abstract member GetExpression : string -> string
override this.GetExpression : string -> string
Public Function GetExpression (propertyName As String) As String

参数

propertyName
String

你想看到的那个物业名称。

返回

包含用于评估该属性的表达式的字符串。

实现

注解

可以 propertyName 是对象上任何可用的属性。

适用于