Partilhar via


XmlDeclarationOptionSyntax.Update Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlDeclarationOptionSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken name, Microsoft::CodeAnalysis::SyntaxToken equals, Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlStringSyntax ^ value);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationOptionSyntax Update (Microsoft.CodeAnalysis.SyntaxToken name, Microsoft.CodeAnalysis.SyntaxToken equals, Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlStringSyntax value);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlStringSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlDeclarationOptionSyntax
Public Function Update (name As SyntaxToken, equals As SyntaxToken, value As XmlStringSyntax) As XmlDeclarationOptionSyntax

Parameters

name
SyntaxToken

The value for the Name property.

equals
SyntaxToken

The value for the Equals property.

value
XmlStringSyntax

The value for the Value property.

Returns

Applies to