Compartilhar via


Método UITechnologyElement.GetOption

Retorna a opção especificada para este elemento.

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

Sintaxe

'Declaração
Public Overridable Function GetOption ( _
    technologyElementOption As UITechnologyElementOption _
) As Object
public virtual Object GetOption(
    UITechnologyElementOption technologyElementOption
)
public:
virtual Object^ GetOption(
    UITechnologyElementOption technologyElementOption
)
abstract GetOption : 
        technologyElementOption:UITechnologyElementOption -> Object 
override GetOption : 
        technologyElementOption:UITechnologyElementOption -> Object 
public function GetOption(
    technologyElementOption : UITechnologyElementOption
) : Object

Parâmetros

Valor de retorno

Tipo: System.Object
O valor da opção especificada.

Implementações

IUITechnologyElement.GetOption(UITechnologyElementOption)

Exceções

Exceção Condição
NotSupportedException

Não há suporte para a opção do elemento especificado.

Segurança do .NET Framework

Consulte também

Referência

UITechnologyElement Classe

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension

UITechnologyElementOption