Delen via


VisualBasicSyntaxTree.Create Method

Definition

Overloads

Create(VisualBasicSyntaxNode, VisualBasicParseOptions, String, Encoding)

Creates a new syntax tree from a syntax node.

Create(VisualBasicSyntaxNode, VisualBasicParseOptions, String, Encoding, ImmutableDictionary<String,ReportDiagnostic>)

Creates a new syntax tree from a syntax node.

Create(VisualBasicSyntaxNode, VisualBasicParseOptions, String, Encoding)

Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb

Creates a new syntax tree from a syntax node.

public static Microsoft.CodeAnalysis.SyntaxTree Create (Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode root, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions options = default, string path = "", System.Text.Encoding encoding = default);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static Microsoft.CodeAnalysis.SyntaxTree Create (Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode root, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions options, string path, System.Text.Encoding encoding);
static member Create : Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Text.Encoding -> Microsoft.CodeAnalysis.SyntaxTree
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
static member Create : Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Text.Encoding -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function Create (root As VisualBasicSyntaxNode, Optional options As VisualBasicParseOptions = Nothing, Optional path As String = "", Optional encoding As Encoding = Nothing) As SyntaxTree
Public Shared Function Create (root As VisualBasicSyntaxNode, options As VisualBasicParseOptions, path As String, encoding As Encoding) As SyntaxTree

Parameters

path
String
encoding
Encoding

Returns

Attributes

Applies to

Create(VisualBasicSyntaxNode, VisualBasicParseOptions, String, Encoding, ImmutableDictionary<String,ReportDiagnostic>)

Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb
Source:
VisualBasicSyntaxTree.vb

Creates a new syntax tree from a syntax node.

public static Microsoft.CodeAnalysis.SyntaxTree Create (Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode root, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions options = default, string path = "", System.Text.Encoding encoding = default, System.Collections.Immutable.ImmutableDictionary<string,Microsoft.CodeAnalysis.ReportDiagnostic> diagnosticOptions = default);
static member Create : Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Text.Encoding * System.Collections.Immutable.ImmutableDictionary<string, Microsoft.CodeAnalysis.ReportDiagnostic> -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function Create (root As VisualBasicSyntaxNode, Optional options As VisualBasicParseOptions = Nothing, Optional path As String = "", Optional encoding As Encoding = Nothing, Optional diagnosticOptions As ImmutableDictionary(Of String, ReportDiagnostic) = Nothing) As SyntaxTree

Parameters

path
String
encoding
Encoding
diagnosticOptions
ImmutableDictionary<String,ReportDiagnostic>

An obsolete parameter. Diagnostic options should now be passed with SyntaxTreeOptionsProvider

Returns

Applies to