ExpressionMorphHelper.TryInferReturnType 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.
Returns whether the expression tries to infer the return type.
public:
virtual bool TryInferReturnType(System::Activities::ActivityWithResult ^ expression, System::Activities::Presentation::EditingContext ^ context, [Runtime::InteropServices::Out] Type ^ % returnType);
public virtual bool TryInferReturnType (System.Activities.ActivityWithResult expression, System.Activities.Presentation.EditingContext context, out Type returnType);
abstract member TryInferReturnType : System.Activities.ActivityWithResult * System.Activities.Presentation.EditingContext * Type -> bool
override this.TryInferReturnType : System.Activities.ActivityWithResult * System.Activities.Presentation.EditingContext * Type -> bool
Public Overridable Function TryInferReturnType (expression As ActivityWithResult, context As EditingContext, ByRef returnType As Type) As Boolean
Parameters
- expression
- ActivityWithResult
The expression used.
- context
- EditingContext
The context.
- returnType
- Type
The return type of the expression.
Returns
true
if the expression tries to infer the return type; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for