Partager via


UITechnologyElementProxy.GetOption, méthode

Obtient l'option pour cet IUITechnologyElement.

Espace de noms :  Microsoft.VisualStudio.TestTools.UITesting
Assembly :  Microsoft.VisualStudio.TestTools.UITesting (dans Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntaxe

'Déclaration
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

Paramètres

Valeur de retour

Type : Object
La valeur de cette option d'élément.

Implémentations

IUITechnologyElement.GetOption(UITechnologyElementOption)

Exceptions

Exception Condition
NotSupportedException

Lève une exception System.NotSupportedException si l'option d'élément n'est pas prise en charge.

Sécurité .NET Framework

Voir aussi

Référence

UITechnologyElementProxy Classe

Microsoft.VisualStudio.TestTools.UITesting, espace de noms