共用方式為


VisualBasicParseOptions.WithDocumentationMode(DocumentationMode) Method

Definition

Returns a VisualBasicParseOptions instance for a specified documentation mode.

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicParseOptions ^ WithDocumentationMode(Microsoft::CodeAnalysis::DocumentationMode documentationMode);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions WithDocumentationMode (Microsoft.CodeAnalysis.DocumentationMode documentationMode);
override this.WithDocumentationMode : Microsoft.CodeAnalysis.DocumentationMode -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions
Public Function WithDocumentationMode (documentationMode As DocumentationMode) As VisualBasicParseOptions

Parameters

documentationMode
DocumentationMode

Returns

A new instance of VisualBasicParseOptions if documentation mode is different; otherwise current instance.

Applies to