Udostępnij za pośrednictwem


VisualBasicExtensions.OptionStrict(SemanticModel) Method

Definition

Gets the Semantic Model OptionStrict property.

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

Parameters

semanticModel
SemanticModel

A source Semantic model object.

Returns

The OptionStrict object for the semantic model instance OptionStrict property, otherwise Null if semantic model is Null.

Applies to