共用方式為


XmlNameAttributeSyntax.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::XmlNameAttributeSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken equalsToken, Microsoft::CodeAnalysis::SyntaxToken startQuoteToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ reference, Microsoft::CodeAnalysis::SyntaxToken endQuoteToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameAttributeSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax name, Microsoft.CodeAnalysis.SyntaxToken equalsToken, Microsoft.CodeAnalysis.SyntaxToken startQuoteToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax reference, Microsoft.CodeAnalysis.SyntaxToken endQuoteToken);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameAttributeSyntax
Public Function Update (name As XmlNameSyntax, equalsToken As SyntaxToken, startQuoteToken As SyntaxToken, reference As IdentifierNameSyntax, endQuoteToken As SyntaxToken) As XmlNameAttributeSyntax

Parameters

name
XmlNameSyntax

The value for the Name property.

equalsToken
SyntaxToken

The value for the EqualsToken property.

startQuoteToken
SyntaxToken

The value for the StartQuoteToken property.

reference
IdentifierNameSyntax

The value for the Reference property.

endQuoteToken
SyntaxToken

The value for the EndQuoteToken property.

Returns

Applies to