VisualBasicExtensions.OptionStrict(SemanticModel) 方法

定义

获取语义模型 OptionStrict 属性。

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

参数

semanticModel
SemanticModel

源语义模型对象。

返回

语义模型实例 OptionStrict 属性的 OptionStrict 对象,否则,如果语义模型为 Null,则为 Null。

适用于