ScriptNameObjectBase.GetTextProperty(String) 方法

定义

获取对象的文本(如果不可用)基于对象的状态引发 apropiate 异常

protected string GetTextProperty(string requestingProperty);
member this.GetTextProperty : string -> string
Protected Function GetTextProperty (requestingProperty As String) As String

参数

requestingProperty
String

当属性派生自 Text 时,该属性的名称应显示为无法重试,这在属性派生自 Text 时非常有用

返回

适用于