SilverlightElement 類別
這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。
繼承階層架構
System.Object
Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.SilverlightElement
命名空間: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
組件: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll 中)
語法
'宣告
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class SilverlightElement _
Inherits UITechnologyElement
[SerializableAttribute]
[ComVisibleAttribute(true)]
public sealed class SilverlightElement : UITechnologyElement
[SerializableAttribute]
[ComVisibleAttribute(true)]
public ref class SilverlightElement sealed : public UITechnologyElement
[<Sealed>]
[<SerializableAttribute>]
[<ComVisibleAttribute(true)>]
type SilverlightElement =
class
inherit UITechnologyElement
end
public final class SilverlightElement extends UITechnologyElement
SilverlightElement 型別會公開下列成員。
屬性
回頁首
方法
.gif) |
CacheProperties |
(覆寫 UITechnologyElement.CacheProperties()。) |
.gif) |
EnsureVisibleByScrolling |
(覆寫 UITechnologyElement.EnsureVisibleByScrolling(Int32, Int32, Int32%, Int32%)。) |
.gif) |
Equals(IUITechnologyElement) |
(覆寫 UITechnologyElement.Equals(IUITechnologyElement)。) |
.gif) |
Equals(Object) |
(覆寫 Object.Equals(Object)。) |
.gif) |
Finalize |
允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 |
.gif) |
GetBoundingRectangle |
(覆寫 UITechnologyElement.GetBoundingRectangle(Int32%, Int32%, Int32%, Int32%)。) |
.gif) |
GetClickablePoint |
(覆寫 UITechnologyElement.GetClickablePoint(Int32%, Int32%)。) |
.gif) |
GetHashCode |
(覆寫 Object.GetHashCode()。) |
.gif) |
GetNativeControlType |
(覆寫 UITechnologyElement.GetNativeControlType(NativeControlTypeKind)。) |
.gif) |
GetOption |
(覆寫 UITechnologyElement.GetOption(UITechnologyElementOption)。) |
.gif) |
GetPropertyValue |
(覆寫 UITechnologyElement.GetPropertyValue(String)。) |
.gif) |
GetQueryIdForRelatedElement |
(覆寫 UITechnologyElement.GetQueryIdForRelatedElement(UITestElementKind, Object, Int32%)。) |
.gif) |
GetRequestedState |
(覆寫 UITechnologyElement.GetRequestedState(AccessibleStates)。) |
.gif) |
GetRightToLeftProperty |
(覆寫 UITechnologyElement.GetRightToLeftProperty(RightToLeftKind)。) |
.gif) |
GetScrolledPercentage |
(覆寫 UITechnologyElement.GetScrolledPercentage(ScrollDirection, IUITechnologyElement)。) |
.gif) |
GetType |
取得目前執行個體的 Type。 (繼承自 Object)。 |
.gif) |
InitializeProgrammaticScroll |
(覆寫 UITechnologyElement.InitializeProgrammaticScroll()。) |
.gif) |
InvokeProgrammaticAction |
(覆寫 UITechnologyElement.InvokeProgrammaticAction(ProgrammaticActionOption)。) |
.gif) |
MemberwiseClone |
建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 |
.gif) |
ScrollProgrammatically |
(覆寫 UITechnologyElement.ScrollProgrammatically(ScrollDirection, ScrollAmount)。) |
.gif) |
SetFocus |
(覆寫 UITechnologyElement.SetFocus()。) |
.gif) |
SetOption |
(繼承自 UITechnologyElement)。 |
.gif) |
ToString |
(覆寫 Object.ToString()。) |
.gif) |
WaitForReady |
(覆寫 UITechnologyElement.WaitForReady()。) |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。
請參閱
參考
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight 命名空間