UITechnologyElementProxy.GetOption-Methode

Ruft die Option für dieses IUITechnologyElement ab.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
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

Parameter

Rückgabewert

Typ: System.Object
Der Wert dieser Elementoption.

Implementiert

IUITechnologyElement.GetOption(UITechnologyElementOption)

Ausnahmen

Ausnahme Bedingung
NotSupportedException

Löst System.NotSupportedException aus, wenn die Elementoption nicht unterstützt wird.

.NET Framework-Sicherheit

Siehe auch

Referenz

UITechnologyElementProxy Klasse

Microsoft.VisualStudio.TestTools.UITesting-Namespace