ParseOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents parse options common to C# and VB.
public ref class ParseOptions abstract
public abstract class ParseOptions
type ParseOptions = class
Public MustInherit Class ParseOptions
- Inheritance
-
ParseOptions
- Derived
Properties
DocumentationMode |
Gets a value indicating whether the documentation comments are parsed and analyzed. |
Errors |
Errors collection related to an incompatible set of parse options |
Features |
Returns the experimental features. |
Kind |
Specifies whether to parse as regular code files, script files or interactive code. |
Language |
Gets the source language ("C#" or "Visual Basic"). |
PreprocessorSymbolNames |
Names of defined preprocessor symbols. |
SpecifiedKind |
Gets the specified source code kind, which is the value that was specified in the call to the constructor, or modified using the WithKind(SourceCodeKind) method. |
Methods
CommonWithDocumentationMode(DocumentationMode) | |
CommonWithFeatures(IEnumerable<KeyValuePair<String,String>>) | |
CommonWithKind(SourceCodeKind) | |
Equals(Object) | |
EqualsHelper(ParseOptions) | |
GetHashCode() | |
GetHashCodeHelper() | |
WithDocumentationMode(DocumentationMode) |
Creates a new options instance with the specified documentation mode. |
WithFeatures(IEnumerable<KeyValuePair<String,String>>) |
Enable some experimental language features for testing. |
WithKind(SourceCodeKind) |
Creates a new options instance with the specified source code kind. |
Operators
Equality(ParseOptions, ParseOptions) | |
Inequality(ParseOptions, ParseOptions) |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應