Condividi tramite


SyntaxTree.WithRootAndOptions(SyntaxNode, ParseOptions) Metodo

Definizione

Restituisce un nuovo albero le cui opzioni e radice sono specificate e altre proprietà vengono copiate dall'albero corrente.

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

Parametri

root
SyntaxNode
options
ParseOptions

Restituisce

Si applica a