共用方式為


VisualBasicExtensions.OptionInfer(SemanticModel) Method

Definition

Gets the Semantic Model OptionInfer property.

public:
[System::Runtime::CompilerServices::Extension]
 static bool OptionInfer(Microsoft::CodeAnalysis::SemanticModel ^ semanticModel);
public static bool OptionInfer (this Microsoft.CodeAnalysis.SemanticModel semanticModel);
static member OptionInfer : Microsoft.CodeAnalysis.SemanticModel -> bool
<Extension()>
Public Function OptionInfer (semanticModel As SemanticModel) As Boolean

Parameters

semanticModel
SemanticModel

A source Semantic model object.

Returns

A boolean values, for the semantic model instance OptionInfer property. otherwise Null if semantic model is Null.

Applies to