XmlDeclarationSyntax.WithVersion(XmlDeclarationOptionSyntax) 方法

定义

返回一个副本,其中 Version 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlDeclarationSyntax ^ WithVersion(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlDeclarationOptionSyntax ^ version);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationSyntax WithVersion (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationOptionSyntax version);
member this.WithVersion : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationOptionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationSyntax
Public Function WithVersion (version As XmlDeclarationOptionSyntax) As XmlDeclarationSyntax

参数

返回

适用于