ControlData Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The ControlData is used to pass control definition information.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.ControlData

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)

Syntax

'Declaration
Public Class ControlData
public class ControlData
public ref class ControlData
type ControlData =  class end
public class ControlData

The ControlData type exposes the following members.

Constructors

  Name Description
Public method ControlData() Initializes a new instance of the ControlData class by using default values.
Public method ControlData(Int32, String) Initializes a new instance of the ControlData class.

Top

Properties

  Name Description
Public property ControlId The control ID.
Public property ControlType The control type.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight Namespace