Megosztás a következőn keresztül:


CompilationUnitSyntax.Options Property

Definition

Represents the list of Option statements at the beginning of a source file.

public:
 property Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::OptionStatementSyntax ^> Options { Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::OptionStatementSyntax ^> get(); };
public Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax> Options { get; }
member this.Options : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.OptionStatementSyntax>
Public ReadOnly Property Options As SyntaxList(Of OptionStatementSyntax)

Property Value

Remarks

If nothing is present, an empty list is returned.

Applies to