共用方式為


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。

適用於