PexInputEnumeratorBase.InputModelBuilder.TrySetValue(ISymbolIdFromParameter, Object) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Tenta definir o valor de um símbolo de parâmetro.
public:
bool TrySetValue(Microsoft::ExtendedReflection::Interpretation::ISymbolIdFromParameter ^ symbolId, System::Object ^ boxedValue);
public bool TrySetValue (Microsoft.ExtendedReflection.Interpretation.ISymbolIdFromParameter symbolId, object boxedValue);
member this.TrySetValue : Microsoft.ExtendedReflection.Interpretation.ISymbolIdFromParameter * obj -> bool
Public Function TrySetValue (symbolId As ISymbolIdFromParameter, boxedValue As Object) As Boolean
Parâmetros
- symbolId
- Microsoft.ExtendedReflection.Interpretation.ISymbolIdFromParameter
A ID do símbolo.
- boxedValue
- Object
O valor em caixa.
Retornos
true Se o tipo do símbolo tiver suporte e o valor boxed especificado tiver um tipo compatível