Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 971 Bytes

option-keyword-statement.md

File metadata and controls

31 lines (21 loc) · 971 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Option <keyword> Statement
Option <keyword> Statement
07/20/2015
vb.option
Option keyword [Visual Basic]
6b2f41c4-2403-43b6-8a14-94a3775e5b47

Option <keyword> Statement

Introduces a statement that specifies a compiler option that applies to the entire source file.

Remarks

The compiler options can control whether all variables must be explicitly declared, whether narrowing type conversions must be explicit, or whether strings should be compared as text or as binary quantities.

The Option keyword can be used in these contexts:

Option Compare Statement

Option Explicit Statement

Option Infer Statement

Option Strict Statement

See also