Partager via


XmlProcessingInstructionSyntax.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::XmlProcessingInstructionSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken lessThanQuestionToken, Microsoft::CodeAnalysis::SyntaxToken name, Microsoft::CodeAnalysis::SyntaxTokenList textTokens, Microsoft::CodeAnalysis::SyntaxToken questionGreaterThanToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlProcessingInstructionSyntax Update (Microsoft.CodeAnalysis.SyntaxToken lessThanQuestionToken, Microsoft.CodeAnalysis.SyntaxToken name, Microsoft.CodeAnalysis.SyntaxTokenList textTokens, Microsoft.CodeAnalysis.SyntaxToken questionGreaterThanToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxTokenList * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlProcessingInstructionSyntax
Public Function Update (lessThanQuestionToken As SyntaxToken, name As SyntaxToken, textTokens As SyntaxTokenList, questionGreaterThanToken As SyntaxToken) As XmlProcessingInstructionSyntax

Parameters

lessThanQuestionToken
SyntaxToken

The value for the LessThanQuestionToken property.

name
SyntaxToken

The value for the Name property.

textTokens
SyntaxTokenList

The value for the TextTokens property.

questionGreaterThanToken
SyntaxToken

The value for the QuestionGreaterThanToken property.

Returns

Applies to