XmlNameAttributeSyntax.Update 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.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈