Compartir a través de


XmlDeclarationSyntax.WithVersion(XmlDeclarationOptionSyntax) Method

Definition

Returns a copy of this with the Version property changed to the specified value. Returns this instance if the specified value is the same as the current value.

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

Parameters

Returns

Applies to