New to Telerik Test StudioStart a free 30-day trial

Definition

Namespace:ArtOfTest.WebAii.Silverlight

Assembly:ArtOfTest.WebAii.dll

Syntax:

C#
[DataContract]
[KnownType(typeof(AutomationProperty))]
public sealed class AutomationReference

Inheritance: objectAutomationReference

Constructors

C#
public AutomationReference(FrameworkElement fx)
Parameters:fxFrameworkElement
C#
public AutomationReference(ICommunicationProxy proxy, string objectName, string refPath)
Parameters:proxyICommunicationProxyobjectNamestringrefPathstring
C#
public AutomationReference(ICommunicationProxy proxy, string objectName)
Parameters:proxyICommunicationProxyobjectNamestring
C#
public AutomationReference(ICommunicationProxy proxy)
Parameters:proxyICommunicationProxy

Properties

C#
[DataMember]
public string ObjectName { get; set; }
C#
[DataMember]
public string Path { get; set; }
C#
[DataMember]
public AutomationProperty[] Properties { get; set; }

Methods

C#
public void AppendProperty(AutomationProperty prop)
Parameters:propAutomationProperty
C#
public AutomationReference Clone()
Returns:

AutomationReference

C#
public void EnsureReferencePath()
C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: object.Equals(object)

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()