PexInputEnumeratorBase.InputModelBuilder.TrySetValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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