Class
AutomationMethod

Represents a method on an AutomationObject

Definition

Namespace:ArtOfTest.WebAii.Silverlight

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
[DataContract]
public class AutomationMethod

Inheritance: objectAutomationMethod

Constructors

AutomationMethod(string, Type)

Creates a new AutomationMethod

Declaration

cs-api-definition
public AutomationMethod(string name, Type returnType)

Parameters

name

string

The name of the method to call on the AutomationObject

returnType

Type

The return type of the method

Properties

Name

Gets / Sets the name of the method this object represents

Declaration

cs-api-definition
[DataMember]
public string Name { get; set; }

Property Value

string

Parameters

Gets / Sets the parameters for the method call

Declaration

cs-api-definition
[DataMember]
public object[] Parameters { get; set; }

Property Value

object[]

ReturnType

Gets / Sets the return type of the method this object represents

Declaration

cs-api-definition
public Type ReturnType { get; set; }

Property Value

Type

ReturnTypeName

Gets / Sets the return type name of the method this object represents

Declaration

cs-api-definition
[DataMember]
public string ReturnTypeName { get; set; }

Property Value

string

Methods

ReturnsAutomationPeer()

Whether this object is an AutomationObject or not.

Declaration

cs-api-definition
public bool ReturnsAutomationPeer()

Returns

bool

True/False whether or not this object is an AutomationObject.