VisualBasicCompilation.ReplaceSyntaxTree(SyntaxTree, SyntaxTree) Method
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.
public:
Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilation ^ ReplaceSyntaxTree(Microsoft::CodeAnalysis::SyntaxTree ^ oldTree, Microsoft::CodeAnalysis::SyntaxTree ^ newTree);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation ReplaceSyntaxTree (Microsoft.CodeAnalysis.SyntaxTree oldTree, Microsoft.CodeAnalysis.SyntaxTree newTree);
override this.ReplaceSyntaxTree : Microsoft.CodeAnalysis.SyntaxTree * Microsoft.CodeAnalysis.SyntaxTree -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation
Public Function ReplaceSyntaxTree (oldTree As SyntaxTree, newTree As SyntaxTree) As VisualBasicCompilation
Parameters
- oldTree
- SyntaxTree
- newTree
- SyntaxTree
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.