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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈