SilverlightContainer 类

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

继承层次结构

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
    Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.SilverlightContainer

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight(在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll 中)

语法

声明
<ComVisibleAttribute(True)> _
Public NotInheritable Class SilverlightContainer _
    Inherits UITechnologyElement
[ComVisibleAttribute(true)]
public sealed class SilverlightContainer : UITechnologyElement
[ComVisibleAttribute(true)]
public ref class SilverlightContainer sealed : public UITechnologyElement
[<Sealed>]
[<ComVisibleAttribute(true)>]
type SilverlightContainer =  
    class
        inherit UITechnologyElement
    end
public final class SilverlightContainer extends UITechnologyElement

SilverlightContainer 类型公开以下成员。

属性

  名称 说明
公共属性 ChildIndex (重写 UITechnologyElement.ChildIndex。)
公共属性 ClassName (重写 UITechnologyElement.ClassName。)
公共属性 ControlTypeName (重写 UITechnologyElement.ControlTypeName。)
公共属性 FriendlyName (重写 UITechnologyElement.FriendlyName。)
公共属性 IsLeafNode (重写 UITechnologyElement.IsLeafNode。)
公共属性 IsPassword (重写 UITechnologyElement.IsPassword。)
公共属性 IsTreeSwitchingRequired (重写 UITechnologyElement.IsTreeSwitchingRequired。)
公共属性 Name (重写 UITechnologyElement.Name。)
公共属性 NativeElement (重写 UITechnologyElement.NativeElement。)
公共属性 QueryId (重写 UITechnologyElement.QueryId。)
公共属性 SupportLevel (继承自 UITechnologyElement。)
公共属性 SwitchingElement (重写 UITechnologyElement.SwitchingElement。)
公共属性 TechnologyManager (重写 UITechnologyElement.TechnologyManager。)
公共属性 TechnologyName (重写 UITechnologyElement.TechnologyName。)
公共属性 TopLevelElement (重写 UITechnologyElement.TopLevelElement。)
公共属性 Value (重写 UITechnologyElement.Value。)
公共属性 WindowHandle (重写 UITechnologyElement.WindowHandle。)
公共属性 WindowTitles (继承自 UITechnologyElement。)

页首

方法

  名称 说明
公共方法 CacheProperties (重写 UITechnologyElement.CacheProperties()。)
公共方法 EnsureVisibleByScrolling (重写 UITechnologyElement.EnsureVisibleByScrolling(Int32, Int32, Int32%, Int32%)。)
公共方法 Equals(IUITechnologyElement) (重写 UITechnologyElement.Equals(IUITechnologyElement)。)
公共方法 Equals(Object) (重写 Object.Equals(Object)。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetBoundingRectangle (重写 UITechnologyElement.GetBoundingRectangle(Int32%, Int32%, Int32%, Int32%)。)
公共方法 GetClickablePoint (重写 UITechnologyElement.GetClickablePoint(Int32%, Int32%)。)
公共方法 GetHashCode (重写 Object.GetHashCode()。)
公共方法 GetNativeControlType (重写 UITechnologyElement.GetNativeControlType(NativeControlTypeKind)。)
公共方法 GetOption (继承自 UITechnologyElement。)
公共方法 GetPropertyValue (重写 UITechnologyElement.GetPropertyValue(String)。)
公共方法 GetQueryIdForRelatedElement (重写 UITechnologyElement.GetQueryIdForRelatedElement(UITestElementKind, Object, Int32%)。)
公共方法 GetRequestedState (重写 UITechnologyElement.GetRequestedState(AccessibleStates)。)
公共方法 GetRightToLeftProperty (重写 UITechnologyElement.GetRightToLeftProperty(RightToLeftKind)。)
公共方法 GetScrolledPercentage (重写 UITechnologyElement.GetScrolledPercentage(ScrollDirection, IUITechnologyElement)。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 InitializeProgrammaticScroll (重写 UITechnologyElement.InitializeProgrammaticScroll()。)
公共方法 InvokeProgrammaticAction (重写 UITechnologyElement.InvokeProgrammaticAction(ProgrammaticActionOption)。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ScrollProgrammatically (重写 UITechnologyElement.ScrollProgrammatically(ScrollDirection, ScrollAmount)。)
公共方法 SetFocus (重写 UITechnologyElement.SetFocus()。)
公共方法 SetOption (继承自 UITechnologyElement。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)
公共方法 WaitForReady (重写 UITechnologyElement.WaitForReady()。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight 命名空间