Partager via


ExternalSourceDirectiveTriviaSyntax.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::ExternalSourceDirectiveTriviaSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken externalSourceKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::SyntaxToken externalSource, Microsoft::CodeAnalysis::SyntaxToken commaToken, Microsoft::CodeAnalysis::SyntaxToken lineStart, Microsoft::CodeAnalysis::SyntaxToken closeParenToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ExternalSourceDirectiveTriviaSyntax Update (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken externalSourceKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.SyntaxToken externalSource, Microsoft.CodeAnalysis.SyntaxToken commaToken, Microsoft.CodeAnalysis.SyntaxToken lineStart, Microsoft.CodeAnalysis.SyntaxToken closeParenToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExternalSourceDirectiveTriviaSyntax
Public Function Update (hashToken As SyntaxToken, externalSourceKeyword As SyntaxToken, openParenToken As SyntaxToken, externalSource As SyntaxToken, commaToken As SyntaxToken, lineStart As SyntaxToken, closeParenToken As SyntaxToken) As ExternalSourceDirectiveTriviaSyntax

Parameters

hashToken
SyntaxToken

The value for the HashToken property.

externalSourceKeyword
SyntaxToken

The value for the ExternalSourceKeyword property.

openParenToken
SyntaxToken

The value for the OpenParenToken property.

externalSource
SyntaxToken

The value for the ExternalSource property.

commaToken
SyntaxToken

The value for the CommaToken property.

lineStart
SyntaxToken

The value for the LineStart property.

closeParenToken
SyntaxToken

The value for the CloseParenToken property.

Returns

Applies to