Compartilhar via


SyntaxTree.WithRootAndOptions(SyntaxNode, ParseOptions) Método

Definição

Retorna uma nova árvore cuja raiz e opções são conforme especificado e outras propriedades são copiadas da árvore atual.

public:
 abstract Microsoft::CodeAnalysis::SyntaxTree ^ WithRootAndOptions(Microsoft::CodeAnalysis::SyntaxNode ^ root, Microsoft::CodeAnalysis::ParseOptions ^ options);
public abstract Microsoft.CodeAnalysis.SyntaxTree WithRootAndOptions (Microsoft.CodeAnalysis.SyntaxNode root, Microsoft.CodeAnalysis.ParseOptions options);
abstract member WithRootAndOptions : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.ParseOptions -> Microsoft.CodeAnalysis.SyntaxTree
Public MustOverride Function WithRootAndOptions (root As SyntaxNode, options As ParseOptions) As SyntaxTree

Parâmetros

root
SyntaxNode
options
ParseOptions

Retornos

Aplica-se a