PexInputEnumeratorBase.InputModelBuilder.TrySetValue Method

Definition

Tries to set the value of a parameter symbol.

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

Parameters

symbolId
Microsoft.ExtendedReflection.Interpretation.ISymbolIdFromParameter

The symbol id.

boxedValue
Object

The boxed value.

Returns

true if the type of the symbol is supported, and the given boxed value had a compatible type

Applies to