UITestPropertyDescriptor 類別
類別,用於包含屬性的相關資訊。
繼承階層架構
System.Object
Microsoft.VisualStudio.TestTools.UITesting.UITestPropertyDescriptor
命名空間: Microsoft.VisualStudio.TestTools.UITesting
組件: Microsoft.VisualStudio.TestTools.UITesting (在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
語法
'宣告
<CLSCompliantAttribute(True)> _
Public Class UITestPropertyDescriptor
[CLSCompliantAttribute(true)]
public class UITestPropertyDescriptor
[CLSCompliantAttribute(true)]
public ref class UITestPropertyDescriptor
[<CLSCompliantAttribute(true)>]
type UITestPropertyDescriptor = class end
public class UITestPropertyDescriptor
UITestPropertyDescriptor 型別會公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
UITestPropertyDescriptor(Type) | 使用預設讀取權限來初始化 UITestPropertyDescriptor 類別的新執行個體。 |
![]() |
UITestPropertyDescriptor(Type, UITestPropertyAttributes) | 不使用分類,初始化 UITestPropertyDescriptor 類別的新執行個體。 |
![]() |
UITestPropertyDescriptor(Type, String) | 使用預設讀取權限來初始化 UITestPropertyDescriptor 類別的新執行個體。 |
![]() |
UITestPropertyDescriptor(Type, UITestPropertyAttributes, String) | 使用指定的使用權限和分類,初始化 UITestPropertyDescriptor 類別的新執行個體。 |
回頁首
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Attributes | 取得屬性的使用權限。 |
![]() |
Category | 取得這個屬性所屬的分類。 |
![]() |
DataType | 取得屬性值的資料型別。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | 判斷指定的物件是否等於目前物件。 (繼承自 Object)。 |
![]() |
Finalize | 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 |
![]() |
GetHashCode | 做為特定型別的雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 |
![]() |
ToString | 此執行個體的字串表示。 (覆寫 Object.ToString()。) |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。