Udostępnij za pośrednictwem


Metoda UITechnologyElementProxy.GetOption —

Pobiera opcji dla tego IUITechnologyElement.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITesting
Zestaw:  Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)

Składnia

'Deklaracja
Public Overrides Function GetOption ( _
    technologyElementOption As UITechnologyElementOption _
) As Object
public override Object GetOption(
    UITechnologyElementOption technologyElementOption
)
public:
virtual Object^ GetOption(
    UITechnologyElementOption technologyElementOption
) override
abstract GetOption : 
        technologyElementOption:UITechnologyElementOption -> Object 
override GetOption : 
        technologyElementOption:UITechnologyElementOption -> Object 
public override function GetOption(
    technologyElementOption : UITechnologyElementOption
) : Object

Parametry

Wartość zwracana

Typ: System.Object
Wartość tej opcji element.

Implementuje

IUITechnologyElement.GetOption(UITechnologyElementOption)

Wyjątki

Wyjątek Warunek
NotSupportedException

Wyrzuca System.NotSupportedException, jeśli opcja element nie jest obsługiwana.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITechnologyElementProxy Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting