ControlType 類別
ControlType 類別封裝 UI 控制項的不同類型
繼承階層架構
Object
Microsoft.VisualStudio.TestTools.UITesting.ControlType
命名空間: Microsoft.VisualStudio.TestTools.UITesting
組件: Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
語法
'宣告
<SerializableAttribute> _
Public NotInheritable Class ControlType
[SerializableAttribute]
public sealed class ControlType
[SerializableAttribute]
public ref class ControlType sealed
[<Sealed>]
[<SerializableAttribute>]
type ControlType = class end
public final class ControlType
ControlType 類型會公開下列成員。
屬性
名稱 | 描述 | |
---|---|---|
![]() |
FriendlyName | |
![]() |
Name | |
![]() ![]() |
NameComparer |
回頁首
方法
名稱 | 描述 | |
---|---|---|
![]() |
Equals | (覆寫 Object.Equals(Object)。) |
![]() ![]() |
GetControlType(String) | |
![]() ![]() |
GetControlType(String, String) | |
![]() |
GetHashCode | (覆寫 Object.GetHashCode。) |
![]() |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 |
![]() |
NameEquals | |
![]() |
ToString | (覆寫 Object.ToString。) |
回頁首
運算子
名稱 | 描述 | |
---|---|---|
![]() ![]() |
Equality | |
![]() ![]() |
Implicit(String to ControlType) | |
![]() ![]() |
Inequality |
回頁首
欄位
回頁首
備註
沒有要更新的內容,請不要在這裡新增資料。
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。