Share via


SilverlightElement.GetQueryIdForRelatedElement Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

This member overrides UITechnologyElement.GetQueryIdForRelatedElement(UITestElementKind, Object, Int32%).

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)

Syntax

'Declaration
Public Overrides Function GetQueryIdForRelatedElement ( _
    relatedElement As UITestElementKind, _
    additionalInfo As Object, _
    <OutAttribute> ByRef maxDepth As Integer _
) As String
public override string GetQueryIdForRelatedElement(
    UITestElementKind relatedElement,
    Object additionalInfo,
    out int maxDepth
)
public:
virtual String^ GetQueryIdForRelatedElement(
    UITestElementKind relatedElement, 
    Object^ additionalInfo, 
    [OutAttribute] int% maxDepth
) override
abstract GetQueryIdForRelatedElement : 
        relatedElement:UITestElementKind * 
        additionalInfo:Object * 
        maxDepth:int byref -> string 
override GetQueryIdForRelatedElement : 
        relatedElement:UITestElementKind * 
        additionalInfo:Object * 
        maxDepth:int byref -> string 
public override function GetQueryIdForRelatedElement(
    relatedElement : UITestElementKind, 
    additionalInfo : Object, 
    maxDepth : int
) : String

Parameters

Return Value

Type: System.String
Returns String.

Implements

IUITechnologyElement.GetQueryIdForRelatedElement(UITestElementKind, Object, Int32%)

.NET Framework Security

See Also

Reference

SilverlightElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight Namespace