Compartilhar via


Método IUITechnologyElement.SetOption

Define o valor da opção especificada nesse elemento.

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

Sintaxe

'Declaração
Sub SetOption ( _
    technologyElementOption As UITechnologyElementOption, _
    optionValue As Object _
)
void SetOption(
    UITechnologyElementOption technologyElementOption,
    Object optionValue
)
void SetOption(
    UITechnologyElementOption technologyElementOption, 
    Object^ optionValue
)
abstract SetOption : 
        technologyElementOption:UITechnologyElementOption * 
        optionValue:Object -> unit 
function SetOption(
    technologyElementOption : UITechnologyElementOption, 
    optionValue : Object
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

IUITechnologyElement Interface

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension

UITechnologyElementOption