SyntaxFactory.OptionStatement Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
OptionStatement(SyntaxToken) |
Représente une instruction Option, telle que « Option Strict On ». |
OptionStatement(SyntaxToken, SyntaxToken) |
Représente une instruction Option, telle que « Option Strict On ». |
OptionStatement(SyntaxToken, SyntaxToken, SyntaxToken) |
Représente une instruction Option, telle que « Option Strict On ». |
OptionStatement(SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Représente une instruction Option, telle que « Option Strict On ».
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::OptionStatementSyntax ^ OptionStatement(Microsoft::CodeAnalysis::SyntaxToken nameKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax OptionStatement (Microsoft.CodeAnalysis.SyntaxToken nameKeyword);
static member OptionStatement : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax
Public Shared Function OptionStatement (nameKeyword As SyntaxToken) As OptionStatementSyntax
Paramètres
- nameKeyword
- SyntaxToken
Mot clé qui identifie l’option définie : Explicite, Strict, Compare ou Infer.
Retours
S’applique à
OptionStatement(SyntaxToken, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Représente une instruction Option, telle que « Option Strict On ».
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::OptionStatementSyntax ^ OptionStatement(Microsoft::CodeAnalysis::SyntaxToken nameKeyword, Microsoft::CodeAnalysis::SyntaxToken valueKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax OptionStatement (Microsoft.CodeAnalysis.SyntaxToken nameKeyword, Microsoft.CodeAnalysis.SyntaxToken valueKeyword);
static member OptionStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax
Public Shared Function OptionStatement (nameKeyword As SyntaxToken, valueKeyword As SyntaxToken) As OptionStatementSyntax
Paramètres
- nameKeyword
- SyntaxToken
Mot clé qui identifie l’option définie : Explicite, Strict, Compare ou Infer.
- valueKeyword
- SyntaxToken
Mot clé qui identifie la valeur définie pour l’option : Activé, Désactivé, Texte ou Binaire.
Retours
S’applique à
OptionStatement(SyntaxToken, SyntaxToken, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Représente une instruction Option, telle que « Option Strict On ».
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::OptionStatementSyntax ^ OptionStatement(Microsoft::CodeAnalysis::SyntaxToken optionKeyword, Microsoft::CodeAnalysis::SyntaxToken nameKeyword, Microsoft::CodeAnalysis::SyntaxToken valueKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax OptionStatement (Microsoft.CodeAnalysis.SyntaxToken optionKeyword, Microsoft.CodeAnalysis.SyntaxToken nameKeyword, Microsoft.CodeAnalysis.SyntaxToken valueKeyword);
static member OptionStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax
Public Shared Function OptionStatement (optionKeyword As SyntaxToken, nameKeyword As SyntaxToken, valueKeyword As SyntaxToken) As OptionStatementSyntax
Paramètres
- optionKeyword
- SyntaxToken
Mot clé « Option ».
- nameKeyword
- SyntaxToken
Mot clé qui identifie l’option définie : Explicite, Strict, Compare ou Infer.
- valueKeyword
- SyntaxToken
Mot clé qui identifie la valeur définie pour l’option : Activé, Désactivé, Texte ou Binaire.