此 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 的浅表副本。 (继承自 Object。) | 
| .gif) | ScrollProgrammatically | (重写 UITechnologyElement.ScrollProgrammatically(ScrollDirection, ScrollAmount)。) | 
| .gif) | SetFocus | (重写 UITechnologyElement.SetFocus()。) | 
| .gif) | SetOption | (继承自 UITechnologyElement。) | 
| .gif) | ToString | (重写 Object.ToString()。) | 
| .gif) | WaitForReady | (重写 UITechnologyElement.WaitForReady()。) | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参见
参考
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight 命名空间