Share via


WorkflowViewElement.GetAutomationIdMemberName 方法

定义

在派生类中实现时,获取与用作自动化 ID 的元素关联的模型项属性名称。

protected:
 virtual System::String ^ GetAutomationIdMemberName();
protected virtual string GetAutomationIdMemberName ();
abstract member GetAutomationIdMemberName : unit -> string
override this.GetAutomationIdMemberName : unit -> string
Protected Overridable Function GetAutomationIdMemberName () As String

返回

要用作自动化 ID 的名称。 基类始终返回 null

注解

在派生类中实现此方法可添加您自己的处理,该处理指定要用于向自动化标识模型项的模型项的属性。

适用于